Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 months 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-01-02T01:44:08.000Z (about 1 year ago)
- Last Synced: 2024-03-22T23:52:42.222Z (11 months ago)
- Topics: cnpm, npm, package-manager-tool, pnpm, registry, taobao, yarn
- Language: TypeScript
- Homepage:
- Size: 57.6 KB
- Stars: 82
- Watchers: 4
- Forks: 12
- 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
```![](https://assets.fedtop.com/picbed/202208291120504.png)
```sh
# Select a registry that you need to switch
prm use taobao
```![](https://assets.fedtop.com/picbed/202208291122544.png)
```sh
# Show response time for specific or all registries
prm test
# or
prm test [registry]
```![](https://assets.fedtop.com/picbed/202208291517751.png)
## Dev
```sh
sudo npm link
```