lnpx
v0.1.4
Published
npx for local npm package binaries (also search parent folders)
Downloads
3
Readme
lnpx
npx for local npm package binaries (also search parent folders)
Why?
npxonly searches for latestnode_modulesfolder. But my case is that the binary exists on another uppernode_modulesfolder, structure as:rootnode_modules.bin/foo
sub-foldernode_modulessub2(The folder where bin"foo"wants to be executed.)
The lnpx will search both sub-folder/node_modules and root/node_modules and any other parent folders, and also the global npm bin folder.
