Skip to content

w2xi/nrmm

Repository files navigation

nrmm - NPM registry manager mirror

Another version of nrm, just for learning something interesting.

Install

npm i -g nrmm

Usage

List all available registries:

$ nrmm ls
  npm       ---------- https://registry.npmjs.org/
  yarn      ---------- https://registry.yarnpkg.com/
  tencent   ---------- https://mirrors.cloud.tencent.com/npm/
  cnpm      ---------- https://r.cnpmjs.org/
* taobao    ---------- https://registry.npmmirror.com/
  npmMirror ---------- https://skimdb.npmjs.com/registry/

Show current registry:

nrmm current

Switch registry:

$ nrmm use # or npm use <registry>
? Select a registry (Use arrow keys)
> npm 
  yarn 
  tencent 
  cnpm 
  taobao 
  npmMirror 

Add custom registry:

nrmm add

Delete custom registry:

nrmm del

Edit custom registry:

nrmm edit

Rename registry:

nrmm rename

Test the response time of registry:

nrmm ping [registry]

References

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published