Skip to content

17hz/yrm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yrm -- Yarn Registry Manager

NPM version

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

Install

$ npm install -g @retroxs/yrm

Example

$ yrm ls

* npm -----  https://registry.npmjs.org/
  cnpm ----  http://r.cnpmjs.org/
  taobao --  https://registry.npm.taobao.org/
  nj ------  https://registry.nodejitsu.com/
  rednpm -- http://registry.mirror.cqupt.edu.cn
  skimdb -- https://skimdb.npmjs.com/registry

$ yrm use cnpm  //switch registry to cnpm

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

Usage

Usage: yrm [options] [command]

  Options:

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

  Commands:

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

Registries

Notice

When you use an other registry, you can not use the publish command.

LICENSE

MIT

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published