ysm

1.0.2 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i ysm

Weekly Downloads

2

Version

1.0.2

License

MIT

Unpacked Size

297 kB

Total Files

203

Last publish

Collaborators

  • retroxs