nrm -- NPM registry manager
安装
npm install -g nrm
添加
nrm add jdnpm2 http://registry.m.jd.com
列表
nrm ls
* npm ---- https://registry.npmjs.org/
cnpm --- http://r.cnpmjs.org/
taobao - https://registry.npm.taobao.org/
nj ----- https://registry.nodejitsu.com/
rednpm - http://registry.mirror.cqupt.edu.cn/
npmMirror https://skimdb.npmjs.com/registry/
edunpm - http://registry.enpmjs.org/
jdnpm2 - http://registry.m.jd.com/
使用(切换源)
nrm use jdnpm2
Registry has been set to: http://registry.m.jd.com/
网友评论