nrm 工具使用
nrm默认源地址
text
npm ---------- https://registry.npmjs.org/
yarn --------- https://registry.yarnpkg.com/
tencent ------ https://mirrors.cloud.tencent.com/npm/
cnpm --------- https://r.cnpmjs.org/
taobao ------- https://registry.npmmirror.com/
npmMirror ---- https://skimdb.npmjs.com/registry/nrm安装
shell
npm install -g nrm
# 安装验证
nrm -v查看可用源
shell
nrm ls切换源
shell
nrm use taobao添加新的源
shell
# 搭建私库
nrm add myregistry http://my-private-registry.com删除源
shell
nrm del myregistry查看当前使用的源
shell
nrm current测试源的响应时间
shell
nrm test