https://docs.npmjs.com/cli/link
https://medium.com/@arnaudrinquin/build-modular-application-with-npm-local-modules-dfc5ff047bcc
https://stackoverflow.com/a/17371987
cd ~/projects/node-bloggy # go into the dir of your main project npm link ../node-redis # link the dir of your dependency
Edit] As of NPM 2.0, you can declare local dependencies in package.json
"dependencies": { "bar": "file:../foo/bar" }
262200cookie-checkNPM Working with local packages (without build step)