/prm-cli

Quickly switch the registry of the package management tool.(快速切换包管理工具的镜像源)

Primary LanguageTypeScript

PRM -- package manager's registry manager

prm can help you easy and fast switch between different npm registries, now include: npm, cnpm, taobao, nj(nodejitsu), rednpm, yarn, npmMirror, edunpm.

Install

npm i prm-cli -g

Example

# List all registries
prm ls

# Select a registry that you need to switch
prm use taobao

# Show response time for specific or all registries
prm test
# or
prm test [registry]

Dev

sudo npm link