npm-switch

2.0.5 • Public • Published

npm-switch

快速选择 NPM 或者 YARN 镜像(https://registry.npmjs.org 或者 https://registry.npmmirror.com | https://registry.yarnpkg.com)

安装

npm i -g npm-switch

命令行

Options:
  -o, --official    切换到 NPM or YARN 官方镜像           [boolean]
  -t, --taobao      切换到淘宝镜像                        [boolean]
  -v, --version     查看版本信息                          [boolean]
  -h, --help        显示帮助信息                          [boolean]

Examples:
  npm-switch  #choose with keyboard
  npm-switch -o
  npm-switch --taobao

Package Sidebar

Install

npm i npm-switch

Weekly Downloads

1

Version

2.0.5

License

MIT

Unpacked Size

5.37 kB

Total Files

5

Last publish

Collaborators

  • peakchen90