1 Star 1 Fork 0

huangyanxiong / yrs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Yrs

Yarn registry switch tool

NPM version Downloads npm

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

空文件

简介

Yarn registry switch tool 展开 收起
JavaScript
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/freax/yrs.git
git@gitee.com:freax/yrs.git
freax
yrs
yrs
master

搜索帮助