NPM quick introduction

NPM stands for Node Package Manager. The npmjs.com is the website that hosts the public repository.

Useful commands.
Get version:

npm -v
Search for a package named file:
npm search file
Install package locally (in the current directory):
npm install file
Install package globally:
npm install file -g