How do I use a local version of a module in node.js. For example, in my app, I installed coffee-script:
npm install coffee-script
Use npm-run.
From the readme:
Any executable available to an npm lifecycle script is available to npm-run.
$ npm install mocha # mocha installed in ./node_modules
$ npm-run mocha test/* # uses locally installed mocha executable
$ npm install -g npm-run