<div class="image-package"><img src="https://img.haomeiwen.com/i6782189/94c24dfaff9c46e4.jpg" img-data="{"format":"jpeg","size":478427,"height":1770,"width":2092}" class="uploaded-img" style="min-height:200px;min-width:200px;" width="auto" height="auto"/>
</div><p>npm install -g npm-check-updates
ncu //显示当前目录下项目中所有新的依赖包
ncu -u //更新项目package文件
npm install
pm install -g nrm
nrm ls //查看镜像源, *表示正在使用的
* npm -------- https://registry.npmjs.org/
yarn ------- https://registry.yarnpkg.com/
cnpm ------- http://r.cnpmjs.org/
taobao ----- https://registry.npm.taobao.org/
nj --------- https://registry.nodejitsu.com/
npmMirror -- https://skimdb.npmjs.com/registry/
edunpm ----- http://registry.enpmjs.org/
nrm use taobao //切换</p>
网友评论