1.0.8 • Published 7 years ago

yrs v1.0.8

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

yrs

Yarn registry switch tool

Features

Compatible with Node.js 4.0 or higher

Requirements

Install

yarn global add yrs

OR

 npm install -g yrs

Example

yrs ls

name       registry                             home                             
npm        https://registry.npmjs.org           https://www.npmjs.org            
cnpm       http://r.cnpmjs.org                  http://cnpmjs.org                
taobao     https://registry.npm.taobao.org      https://npm.taobao.org           
nj         https://registry.nodejitsu.com       https://www.nodejitsu.com        
rednpm     http://registry.mirror.cqupt.edu.cn  http://npm.mirror.cqupt.edu.cn/  
npmMirror  https://skimdb.npmjs.com/registry    https://skimdb.npmjs.com/        
edunpm     http://registry.enpmjs.org           http://www.enpmjs.org 
yrs use taobao

yarn config v0.17.6
success Set "registry" to "https://registry.npm.taobao.org".
Done in 0.03s. 

Usage

  Usage: yrs [options] [command]


  Commands:

    current                          Show current registry name
    ls                               List all the registries
    use <registryName>               Change registry to registry
    add <registryName> <url> [home]  Add one custom registry
    del <registryName>               Delete one custom registry
    *                                Any

  Options:

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

Contributing

Registry

  • Add registry to registeries.json

TODO

  • Test
  • travis CI

Development environment

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.0

7 years ago

0.0.1

9 years ago