posted: 2018/07/08
npm install ( or yarn add ) github:username/reponame でgithubからイントールできる
githubからmaster持ってきたかったり、ちょろっとしたの使いたかったした場合
npm install github:username/repoでインストールできる
ハッシュとか指定したいなら
npm instal github:username/repo#hashでOK。
なんとなく罪悪感も感じるが
github:を省略してもgithubということになるらしいnpm install githubname/repoyarnでもできる
yarn add github:username/repo#hash自前のパッケージの場合、ちゃんとpackage.jsonのバージョンを上げないと最新が反映されないこととかあるので注意
