KO
|
EN
gitlite โ search
Search
#python
#java
#python3
#arduino
#golang
#machine-learning
#rust
#html
#flask
#javascript
#seismology
#nodejs
yrs
โ 12
Open GitHub โ
Yarn registry switch tool
Download README (.md)
Explore Similar Repositories
Billboard
:
๐
ng-lazy-load
:
Lazy loading images with Angular.
password_manager
:
Military-Grade Password Manager
ACS-VRP
:
This is a project using Ant Colony System to vehicle routing problem.
elastic-grok-script-plugin
:
Elastic-Grok-Script-Plugin is a provider of Grok ElasticSearch plug-in
// repository documentation
Was this content helpful?
โ 0
(0 ratings)
Select Rating:
โ
โ
โ
โ
โ
Submit Feedback
Recent Feedback
×
Download README
Do you want to download the
README.md
file for
yrs
?
Download (.md)
# Yrs >Yarn registry switch tool [![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![npm][npm-license]][npm-url] ## Features Compatible with Node.js 4.0 or higher ## Requirements - [Yarn](https://yarnpkg.com) ## 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 - [Eslint](http://eslint.org/) - [Babel](http://babeljs.io/) - [Gulp](http://gulpjs.com/) - [Jest](https://facebook.github.io/jest/) - [Flow](https://flowtype.org/) [downloads-image]: https://img.shields.io/npm/dm/yrs.svg [npm-image]: https://img.shields.io/npm/v/yrs.svg [npm-license]: https://img.shields.io/npm/l/yrs.svg?style=flat [npm-url]: https://github.com/huangyanxiong01/yrs