本文翻译自:What is the --save option for npm install?
I saw some tutorial where the command was: 我看到了一些命令所在的教程:
npm install --save
What does the --save
option mean? --save
选项是什么意思?
Not able to find the answer on Google. 在Google上找不到答案。
#1楼
参考:https://stackoom.com/question/1K9L2/npm-install的-save选项是什么
#2楼
Update npm 5: 更新npm 5:
As of npm 5.0.0 , installed modules are added as a dependency by default, so the --save