npm install github package code example
Example 1: npm install directly fron github
npm install git://github.com/shakacode/bootstrap-loader.git#v1 --save
Example 2: npm package github
$ npm login --registry=https://npm.pkg.github.com
> Username: USERNAME
> Password: TOKEN
> Email: PUBLIC-EMAIL-ADDRESS