ohrm
v1.3.0
Published
ohpm registry manager can help you switch between different ohpm registries easily and fast.
Downloads
18
Maintainers
Readme
ohrm -- ohpm registry manager
ohpm registry manager can help you switch between different ohpm registries easily and fast.
Show all registries
Switch to a specified registry
Features
- ohrm registries management(add/delete/list)
- Switch to some registry easily
- No installation required —
npx ohrm
Installation
Install globally
$ npm install ohrm -g
If you don't want to install it globally, you can use npx
to run it.
$ npx ohrm <command>
Usage
Usage: index [options] [command]
Options:
-v --version output the version number
-h, --help display help for command
Commands:
ls List all the registries
current [options] Show current registry name or URL
use <name> Change current registry
add <name> <url> [home] Add custom registry
del <name> Delete custom registry
set-publish <name> <publishRegistry> Set ohrm publish registry for a custom registry to publish package
set-scope <scopeName> <url> Associating a scope with a registry
del-scope <scopeName> Remove a scope
rename <name> <newName> Change custom registry name
home <name> [browser] Open the homepage of registry with optional browser
test [registry] Show response time for specific or all registries
help [command] display help for command
Registries
Credit
ohrm
is inspired by nrm(npm registry manager).
LICENSE
MIT Copyright © 2024 薄涛