Skip to content
/ nrm Public
forked from Pana/nrm

NPM registry manager, fast switch between different registries: npm, cnpm, eu, au, sl, nj

License

Notifications You must be signed in to change notification settings

JoveX/nrm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

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

Install

$ npm install -g nrm

Example

$ 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/

$ nrm use cnpm  //switch registry to cnpm

    Registry has been set to: http://r.cnpmjs.org/

Usage

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

Registries

LICENSE

MIT

About

NPM registry manager, fast switch between different registries: npm, cnpm, eu, au, sl, nj

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%