npm
node package manager
npm consists of three distinct components:
the website
the Command Line Interface (CLI)
the registry
npm installしたパッケージの更新確認とアップデート(npm-check-updates)
プロジェクトにパッケージをインストールする
$ npm install --save my-package
→プロジェクトの node_modules ディレクトリにパッケージがインストールされる
プロジェクトにパッケージがインストールされている場合にそれをCLIから使う
$ npx my-package --version
run-script を使う
直接使う
$ ./node_modules/.bin/my-package --version
でもできる