1.0.2 • Published 6 years ago

ysm v1.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

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 ysm

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