Skip to content

pnpm/encode-registry

Repository files navigation

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

About

Encodes a registry URL. Memoized.

Resources

License

Stars

Watchers

Forks

Packages

No packages published