1.0.1 • Published 5 months ago

npm-change v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

支持的镜像源 🌐

国内镜像 🇨🇳

官方源 🌍

使用方法 🎯

安装

npm install -g npm-change

查看所有命令

npm-change --help

查看当前使用的镜像源

npm-change ls

切换镜像源

npm-change change

将显示所有可用的镜像源列表,使用方向键选择后回车确认即可切换。

测试所有镜像源速度

npm-change speed

会测试所有镜像源的响应速度,并按速度排序显示。测试完成后可选择是否切换到最快的镜像源。

速度测试说明 🚄

速度测试结果使用不同颜色标识:

  • 🟢 绿色: < 1000ms(极速)
  • 🟡 黄色: 1000ms - 2000ms(正常)
  • 🔴 红色: > 2000ms(较慢)

作者 👨‍💻

博客 📝

https://note.bingkele.cc

更新日志 📝

v1.0.0

  • 🎉 首次发布
  • ✨ 支持多个镜像源切换
  • 🚀 支持镜像源速度测试
  • 💄 优化交互界面
1.0.1

5 months ago

1.0.0

5 months ago