In this video we will learn everything about npm, that what is npm? why npm is require? what npm does? how we can use npm in our Node.js projects and React.js projects
So, what is npm?
npm is the package manager for JavaScript packages and npm stands for Node Package Manager.
The npm online platform (https://npmjs.com) is a place from where we can publish and share tools written in our favorite language, JavaScript. Everyone can search for and use the tools published to this npm online platform.
In the npm platform, you can find JavaScript tools which can be used in the browser (front end), the server (back end), or even the command line.
** Some NPM Commands **
Check Version of installed NPM : npm -v or npm --version
Update to already installed NPM : npm install npm -g
Install new package locally : npm install packageName or npm i packageName
Install new package globally : npm install packageName -g or npm i packageName -g
Check locally installed packages : npm ls
Check globally installed packages : npm ls -g
Update a already installed package : npm update packageName
Uninstall a package : npm uninstall packageName
*********** Node.JS Tutorial in English 2021 Playlist ***********
• how to install node js
*********** React.JS Tutorial in Hindi 2021 Playlist ***********
• react js introduction in hindi