encode-registry

Encodes a registry URL. Memoized.

MIT 8 个版本
安装
npm install encode-registry
yarn add encode-registry
pnpm add encode-registry
bun add encode-registry
README

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

版本列表
3.0.1 2023-09-19
3.0.0 2020-10-28
2.0.2 2019-11-13
2.0.1 2019-07-11
2.0.0 2019-05-19
1.1.0 2017-11-09
1.0.0 2017-07-14
0.0.0 2017-07-14