開發(fā)的npm registry 管理工具nrm, 能夠查看和切換當前使用的registry, 最近NPM經(jīng)常 down 掉, 這個還是很有用的哈哈
Install
$ npm install -g nrm
Example
$ nrm ls
*????npm ---- https://registry.npmjs.org/?
????cnpm --- http://r.cnpmjs.org/?
????eu ----- http://registry.npmjs.eu/?
????au ----- http://registry.npmjs.org.au/?
????sl ----- http://npm.strongloop.com/?
????nj ----- https://registry.nodejitsu.com/
$ nrm use cnpm //switch registry to cnpm? ??
? ? Registry has been set to: http://r.cnpmjs.org/
cmd
nrm help // show help
nrm list // show all registries
nrm use cnpm // switch to cnpm
nrm home // go to a registry home page