我很想知道旗帜的含义
-y
npm init -y
传递给 NPM 命令时的
将简单地生成一个空的 npm 项目,而不经过交互过程,并使用预设值填充 JSON。
yes
来自
npm help init
$ npm init -y