NPMJS

npm i package

Install package

npm list

List all dependencies of installed packages

npm list –depth=0

List only project dependencies

npm view

View project info

npm view package

View package info

npm view package dependencies

View package dependencies

npm view package versions

View package versions

npm install

Install packages listed in project.json dependencies

npm i -g package

Install a package globally

npm outdated

Shows new versions of installed packeges

npm update

Updates packege version (Minor & Patches releses)

npm i package –save-dev

Install DEV dependencies

npm uninstall package

Uninstall package

npm config set proxy http//….

Set proxy

npm config delete proxy

Delete proxy settings

npm login

Login to npmjs.org

npm publish

Publish current project to npmjs.org