Open mowatermelon opened 4 years ago
https://github.com/Pana/nrm
npm
依赖包地址
https://www.npmjs.com/package/nrm
在线运行地址
https://npm.runkit.com/nrm
nrm can help you easy and fast switch between different npm registries, now include: npm, cnpm, taobao, nj(nodejitsu).
npm install nrm --save # npm yarn add nrm # Yarn
$ npx 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 cnpm //switch registry to cnpm Registry has been set to: http://r.cnpmjs.org/
just add .yarnrc in your project’s directory and write there: registry “http://your.registry”
Or you can configure it in your HOME directory's .yarnrc
nrm
官方仓库
https://github.com/Pana/nrm
官方
npm
地址https://www.npmjs.com/package/nrm
https://npm.runkit.com/nrm
基础介绍
nrm can help you easy and fast switch between different npm registries, now include: npm, cnpm, taobao, nj(nodejitsu).
基础安装
基础使用
所有指令