encode-registry
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

encode-registry

Status

Encodes a registry URL. Memoized.

Install

<pnpm|yarn|npm> add encode-registry

Usage

const encodeRegistry = require('encode-registry')

encodeRegistry('https://registry.npmjs.org/')
//> registry.npmjs.org

encodeRegistry('https://localhost:4873/')
//> localhost+4873

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i encode-registry

Weekly Downloads

459,902

Version

3.0.1

License

MIT

Unpacked Size

3.34 kB

Total Files

5

Last publish

Collaborators

  • zkochan