ohrm

1.3.0 • Public • Published

ohrm -- ohpm registry manager

ohpm registry manager can help you switch between different ohpm registries easily and fast.

Show all registries

ohrm ls

Switch to a specified registry

ohrm use <registryName>

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

List all the registries

including the default and custom registries

Show current registry name or URL

Change current registry

Add custom registry

Delete custom registry

Set custom publish registry

Set scope registry

Delete scope registry

Change custom registry name

Open the homepage of registry with optional browser

Show response time for specific or all registries

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 薄涛

Package Sidebar

Install

npm i ohrm

Weekly Downloads

5

Version

1.3.0

License

MIT

Unpacked Size

13.2 kB

Total Files

5

Last publish

Collaborators

  • melody0z