Wednesday, September 05, 2012

npm tips

Node Package Manager (npm) has some pretty cool functionality. Some of it is here for my own reference.

Install a package:
npm install

Install a package globally:
npm install -g

List all installed packages and their version
npm ls

Display current package version:
npm info version

Install all dependencies (from package.json):
npm install

No comments: