cnrm
v1.0.0
Published
CNPM registry manager can help you easy and fast switch between different cnpm registries, now include: cnpm, taobao, nj(nodejitsu), edunpm
Downloads
9
Readme
cnrm -- CNPM registry manager
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