1 安装library 时,在项目目录下使用--save , 比如  npm install adm-zip --save 


会将adm-zip 具体版本信息自动配置在 项目的package.json中,不用手动添加了。

2 nmp insall 无参数,安装所有需要的library.