Skip to content

CNPM registry manager can help you easy and fast switch between different cnpm registries, now include: cnpm, taobao, nj(nodejitsu), edunpm

License

Notifications You must be signed in to change notification settings

a526672351/cnrm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cnrm -- CNPM registry manager

NPM version

cnrm can help you easy and fast switch between different npm registries, now include: npm, cnpm, taobao, nj(nodejitsu).

How to configure yarn to use private registry ?

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

Install

$ npm install -g cnrm

Example

$ cnrm 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/
  skimdb -- https://skimdb.npmjs.com/registry

$ cnrm use cnpm  //switch registry to cnpm

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

Usage

Usage: cnrm [options] [command]

  Commands:

    ls                                    List all the registries
    current                               Show current registry name
    use <registry>                        Change registry to registry
    help                                  Print this help

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Registries

Related Projects

Maintainer is wanted

If you find cnrm is useful and is a experienced node.js developer, then you can help maintain cnrm. If you have the interest you can reach me through email.

Contributors

LICENSE

MIT

About

CNPM registry manager can help you easy and fast switch between different cnpm registries, now include: cnpm, taobao, nj(nodejitsu), edunpm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published