NPM is node package manager for NodeJs, which is written fully in JavaScript. NPM runs on terminal or command line and manages dependencies if needed, when author include on the package.

To install package just run the below command in terminal or command line.
npm install request
Command will install request package in NodeJs, also you can find lots package manager in https://www.npmjs.org/