Install npm packages directly from a github repo

npm install --save username/repo#branch-name

The above installs a node package from github into your node_modules folder and automatically adds the dependency to your package.json!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.