What is NPM?

➤ What is npm?

⫸ Introductions

⇒ npm stands for node package manager

⇒ Package is a term used by npm to denote tools that developers can use for their projects. This includes everything from libraries and frameworks such as jQuery and AngularJS to task runners such as Gulp.js. The packages will come in a folder typically called node_modules, which will also contain a package.json file. This file contains information regarding all the packages including any dependencies, which are additional modules needed to use a particular package.

⇒ Npm uses the command line to both install and manage packages, so users attempting to use npm should be familiar with basic commands on their operating system i.e.: traversing directories as well as being able to see the contents of directories.

⫸ Installing NPM

> npm install npm@latest -g

⫸ How to install packages

> npm install <package-name>

Comments