1.3.3 • Published 6 months ago

ntm-npm v1.3.3

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

这是一个个人开发的npm镜像源切换库~~

安装:

npm install ntm-npm -g

ntm ls 查看当前所有npm源

默认有6个:

npm------- https://registry.npmjs.org/

yarn------ https://registry.yarnpkg.com/

tencent--- https://mirrors.cloud.tencent.com/npm/

cnpm------ https://r.cnpmjs.org/

taobao---- https://registry.npmmirror.com/

npmMirror- https://skimdb.npmjs.com/registry/

ntm use 切换源

选择你要切换的源

ntm current 查看当前源

当前源: npm

ntm add 添加源

1.输入添加的名称 2.输入源地址

ntm ping 测试源

请选择镜像 cnpm 响应时长: 1635ms

ntm delete 删除自定义源

add添加的源都可以删除

ntm rename 重命名

自定义添加的源都可以进行重新命名

ntm edit 编辑自定义镜像地址

1.选择自定义npm源的名称 2.输入新的npm源地址

用法 Usage

Commands:

ls 查看镜像

use 请选择镜像

current 查看当前源

ping 测试镜像地址速度

add 自定义镜像

delete 删除自定义的源

rename 重命名

edit 编辑自定义镜像地址

1.3.3

6 months ago

1.3.2

6 months ago

1.3.1

6 months ago

1.3.0

6 months ago