The full form of NPM is Node Package Manager.

It is a package manager for JavaScript, primarily used for managing libraries and dependencies in Node.js projects. NPM allows developers to easily install, update, and manage packages of reusable code

<aside> 💡 package managers are an important concept in programming languages/runtimes. For eg the package manager of rust is cargo

</aside>

Uses of npm

npm init
npm run test
npm install chalk
const chalk = require('chalk');

console.log(chalk.blue('Hello, world!'));
console.log(chalk.red.bold('This is an error message.'));
console.log(chalk.green.underline('This is a success message.'));