工具篇
  # yrm (opens new window)
快速切换 yarn npm源
1. 获取所有源
 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/
 npmMirror https://skimdb.npmjs.com/registry/
 edunpm - http://registry.enpmjs.org/
 yarn --- https://registry.yarnpkg.com
 1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
2. 切换源
 yrm use taobao
3. 测速
测所有 yarn test
测单个 yrm test taobao
4. 新增源
 yrm add mumway http://maven.aliyun.com/nexus/content/groups/public
5. 删除源
 yrm del mumway
编辑  (opens new window)
  上次更新: 2022/08/29