How do I use a local version of a module in node.js. For example, in my app, I installed coffee-script:
node.js
npm install coffee-script
You can also use direnv and change the $PATH variable only in your working folder.
$ cat .envrc > export PATH=$(npm bin):$PATH