how to download npm package from github branch code example
Example: npm install from github branch
npm install git://github.com/shakacode/bootstrap-loader.git#v1 --save
npm install git://github.com/shakacode/bootstrap-loader.git#v1 --save