NPM (node package Manager)

 NPM (node package Manager) 

What is NPM?

  1. npm is the world's largest Software Registry.
  2. The registry contains over 800,000 code Packages.
  3. Open-source developers use npm to share software.
  4. it's full form is Node Package Manager.
Installing npm
  1. npm is installed with Node.js
  2. This means that you have to install Node.js to get npm installed on your computer.
  3. Download Node.js from the official Node.js web site.
Software Package Manager
  1. All npm packages are defined in files called package.json. ex. npm init
  2. The content of package.js must be written in JSON.
  3. At least two fields must be present in the definition files: name and version.
Command Line Client
  1. npm includes a CLI (command line Client ) that can be used to download and install software:
  2. npm can manage dependancies.