What is npm?

706 views

I am new to web development but not programming, I have learnt HTML, CSS and bootstrap, but it says we have to use npm to install Bootstrap. I have been hearing about it now for a long time. I have googled about it, and it says package manager, but people also use it for creating JSON file and stuff. Now keeping in mind I am completely a noob in the web development field please explain it to me npm in simple terms, please. Thank you!

In: Technology

2 Answers

Anonymous 0 Comments

NPM ( node package manager) as the name suggests manages the dependencies of your node project. For example you can use it to install Bootstrap and use it in your project.
NPM makes use of a JSON file to keep track of your dependencies. It contains stuff like which library to install, what version, etc. There’s another JSON file which contains information about the application: the name, author, what command to run on startup, etc.

You are viewing 1 out of 2 answers, click here to view all answers.