wiki

NPM

sudo npm install -g npm
  • npm init --yes | -y(default settings) => creates a package.json
  • npm install --save-dev webpack (Installs webpack in your local package and sets the dev dependency)
  • npm install --save webpack (adds to your prod dependency)
  • npm debup (npm3 -> removes duplicate sub dependencies)
  • npm ls (shows the dependency tree)
  • install order from a package.json
Package.json

http://browsenpm.org/package.json