Loading...
Let's say you want to build an application for yourself. And you can do this in two ways.
Here what comes in handy is a package manager. It's like a code store from where you can get a different package of code and modify it for yourself by passing attributes and values.
So, today's topic is NPM (Node Package Manager) - which is the default package manager for Javascript runtime Node.js.
NPM consists of two things.
A client tool for publishing and downloading packages.
An online repository that hosts Javascript packages.
You can specify label all of your project's dependencies inside your package.json file then any time you can just run npm install and immediately have all of the dependencies installed.
How to install any node package?
npm install --save [package-name]
How to update old node package?
npm update [package-name]
How to remove node package?
npm uninstall [package-name]
For more information visit their official website docs.npmjs.com.