Installing dependencies using npm

npm also known as the node package manager is used to Install dependencies for a project. Dependencies are files that are needed in order for a project to compile and build successfully. Without Installing dependencies, the project would always run Into errors.

Node Package Manager is a one stop shop for Installing dependencies. Without a package manager life would be quite chaotic. One would have to go from one website to another in order to Install files since they are scattered all across the web. It’s akin to shopping in mall where you can get everything in one place rather than going to different stores across the street. It’s a matter of perception which you find more easier or convenient.

As discussed, node package manager allows you to Install all the required files from one place. All you would have to do is just type this command in a terminal or a command prompt.

npm install


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s