node-bin
Mad science ahead
Installs a node
binary into your project, which because npm
runs scripts with the local ./node_modules/.bin
in the PATH
ahead of the system copy means you can have a local verion of node that is different than your system's, and manage node as a normal dependency.
Warning: don't install this globally. npm
can't deal with its node being removed while it's installing node, at least not how this package works. It is mad science after all. (I have plans for how to fix that though)
Use
npm install --save node-bin@0.12