Category Archives: npm

git (github) repository as npm dependency

{ "name": "node-sample-app", "version": "0.0.1", "private": true, "scripts": { "start": "node app.js" }, "dependencies": { "private-module1": "git+https://github.com/marioosh-net/private-module1", "private-module2": "git+ssh://github.com/marioosh-net/private-module2#master" } } more info here

Also posted in git, github, node.js | Leave a comment