https://github.com/wangrongding/prm-cli
🧩 快速切换包管理工具的镜像源。(Quickly switch the registry of the package management tool.)
https://github.com/wangrongding/prm-cli
cnpm npm package-manager-tool pnpm registry taobao yarn
Last synced: 29 days ago
JSON representation
🧩 快速切换包管理工具的镜像源。(Quickly switch the registry of the package management tool.)
- Host: GitHub
- URL: https://github.com/wangrongding/prm-cli
- Owner: wangrongding
- Created: 2022-08-29T03:25:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-16T07:22:06.000Z (11 months ago)
- Last Synced: 2024-10-29T11:18:38.047Z (6 months ago)
- Topics: cnpm, npm, package-manager-tool, pnpm, registry, taobao, yarn
- Language: TypeScript
- Homepage:
- Size: 58.6 KB
- Stars: 96
- Watchers: 4
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`.> 本项目被刊登在阮一峰老师的科技爱好者周刊第 [445](https://www.ruanyifeng.com/blog/2023/03/weekly-issue-245.html) 期。
## Install
```sh
npm i prm-cli -g
```## Example
```sh
# List all registries
prm ls
```
```sh
# Select a registry that you need to switch
prm use taobao
```
```sh
# Show response time for specific or all registries
prm test
# or
prm test [registry]
```
## Dev
```sh
sudo npm link
```