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