npm login 登陆
npm whoami 查看当前使用的用户
npm update xxx 模块更新模块
npm config set registry http://registry.npmjs.org/ 上传包前要配置地址
npm publish 上传包
npm unpublish xxx --force 删除远程包
npm install rimraf -g
rimraf node_modules 删除本地文件夹
npm list -g --depth 0 查看本地全局安装过的包
npm uninstall -g xxx 卸载本地全局安装包
npm outdated 检查依赖的最新版本