Say I\'ve forked a node module with a bugfix and I want to use my fixed version, on a feature branch of course, until the bugfix is merged and released.
How would I
On latest version of NPM you can just do:
npm install gitAuthor/gitRepo#tag
If the repo is a valid NPM package it will be auto-aliased in package.json as:
{ "NPMPackageName": "gitAuthor/gitRepo#tag" }
If you could add this to @justingordon 's answer there is no need for manual aliasing now !