1 | nrm(1) -- npm registry manager
|
2 | ===
|
3 |
|
4 | `nrm` can help you easy and fast switch between different npm registries,
|
5 | now include: `npm`, `cnpm`, `eu`, `au`, `sl(strongloop)`, `nj(nodejitsu)`, `pt(Portuguese)`.
|
6 |
|
7 | Recently npm has some problem frequently, `nrm` will be helpful to all noders.
|
8 |
|
9 | ## Install
|
10 |
|
11 | ```
|
12 | $ npm install -g nrm
|
13 | ```
|
14 |
|
15 | ## Example
|
16 | ```
|
17 | $ nrm ls
|
18 |
|
19 | * npm ---- https://registry.npmjs.org/
|
20 | cnpm --- http://r.cnpmjs.org/
|
21 | taobao - http://registry.npm.taobao.org/
|
22 | eu ----- http://registry.npmjs.eu/
|
23 | au ----- http://registry.npmjs.org.au/
|
24 | sl ----- http://npm.strongloop.com/
|
25 | nj ----- https://registry.nodejitsu.com/
|
26 | pt ----- http://registry.npmjs.pt/
|
27 |
|
28 | ```
|
29 |
|
30 | ```
|
31 | $ nrm use cnpm //switch registry to cnpm
|
32 |
|
33 | Registry has been set to: http://r.cnpmjs.org/
|
34 |
|
35 | ```
|
36 |
|
37 | ## Usage
|
38 |
|
39 | ```
|
40 | Usage: nrm [options] [command]
|
41 |
|
42 | Commands:
|
43 |
|
44 | ls list all the registries
|
45 | use <registry> change registry to registry
|
46 | add <registry> <url> [home] add one custom registry
|
47 | del <registry> delete one custom registry
|
48 | home <registry> [browser] open the homepage of registry with optional browser
|
49 | test [registry] show the response time for one or all registries
|
50 | help print this help
|
51 |
|
52 | Options:
|
53 |
|
54 | -h, --help output usage information
|
55 | -V, --version output the version number
|
56 | ```
|
57 |
|
58 | ## Registries
|
59 |
|
60 | * [npm](https://www.npmjs.org)
|
61 | * [cnpm](http://cnpmjs.org)
|
62 | * [strongloop](http://strongloop.com)
|
63 | * [european](http://npmjs.eu)
|
64 | * [australia](http://npmjs.org.au)
|
65 | * [nodejitsu](https://www.nodejitsu.com)
|
66 | * [taobao](http://npm.taobao.org/)
|
67 | * [Portuguese](http://npmjs.pt/)
|
68 |
|
69 | ## LICENSE
|
70 | MIT
|