node.js npm install --save. What does the --save mean?



Have you ever wondered what does "--save" does in the npm install command?

It adds a line into the dependencies.json file of the current project with package name which you are trying to install and saves you a few manual labor of writing it yourself.

Try it out yourself.


$ npm install sequelize --save

Comments

Popular Posts

Update requires a valid UpdateCommand when passed DataRow collection with modified rows

ToolTip and "Cannot access a disposed object" exception

Finding whether its Design Mode or Runtime Mode in VB.NET