nrm

NPM registry manager can help you easy and fast switch between different npm registries, now include: snpm, cnpm, eu, au, sl(strongloop), nj(nodejitsu)

nrm(1) -- npm registry manager

nrm can help you easy and fast switch between different npm registries, now include: npm, cnpm, eu, au, sl(strongloop), nj(nodejitsu), pt(Portuguese).

Recently npm has some problem frequently, nrm will be helpful to all noders.

$ npm install -g nrm
$ nrm ls
 
* npm ---- https://registry.npmjs.org/
  cnpm --- http://r.cnpmjs.org/
  taobao - http://registry.npm.taobao.org/
  eu ----- http://registry.npmjs.eu/
  au ----- http://registry.npmjs.org.au/
  sl ----- http://npm.strongloop.com/
  nj ----- https://registry.nodejitsu.com/
  pt ----- http://registry.npmjs.pt/
 
$ nrm use cnpm  //switch registry to cnpm
 
    Registry has been set to: http://r.cnpmjs.org/
 
Usage: nrm [options] [command]
 
  Commands:
 
    ls                           list all the registries
    use <registry>               change registry to registry
    add <registry> <url> [home]  add one custom registry
    del <registry>               delete one custom registry
    home <registry> [browser]    open the homepage of registry with optional browser
    test [registry]              show the response time for one or all registries
    help                         print this help
 
  Options:
 
    -h, --help     output usage information
    -V, --version  output the version number

MIT