What is the --save option for npm install?

前端 未结 12 890
野性不改
野性不改 2020-11-22 13:54

I saw some tutorial where the command was:

npm install --save

What does the --save option mean?

Not able to find the a

12条回答
  •  天涯浪人
    2020-11-22 14:08

    according to NPM Doc

    So it seems that by running npm install package_name, the package dependency should be automatically added to package.json right?

提交回复
热议问题