Skip to content

Find npm package executables in node_modules/.bin recursively, and execute them.

Notifications You must be signed in to change notification settings

engineforce/npex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npex

Find npm package executables in node_modules/.bin recursively (similar to the Node.js module resolution mechanism), and execute them.

Descriptions

This is similar to npx, but it tries to find executables in node_modules/.bin recursively and it will not install anything if executables are found.

This extremely useful for monorepo, where your executables are hoisted to the monorepo root, but you want to execute them from sub-repos' location.

Install with npm

npm install -g npex

Usages

npex [--verbose] <command> [<args>...]

Examples

npex lerna ls
npex --verbose lerna ls

npex tsc
npex tsc --listFiles

npex jest
npex jest --help

About

Find npm package executables in node_modules/.bin recursively, and execute them.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published