# encode-registry

> Encodes a registry URL. Memoized.

Latest version **3.0.1** (published 2023-09-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install encode-registry
pnpm add encode-registry
yarn add encode-registry
bun add encode-registry
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.0.1 |
| Published | 2023-09-19 |
| First published | 2017-07-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Zoltan Kochan |
| Maintainers | zkochan |
| Keywords | registry |

## Links

- npm: https://www.npmjs.com/package/encode-registry
- Repository: https://github.com/pnpm/encode-registry
- Homepage: https://github.com/pnpm/encode-registry#readme
- Issues: https://github.com/pnpm/encode-registry/issues
- npm.io page: https://npm.io/package/encode-registry

## Dependencies (1)

- [mem](https://npm.io/package/mem.md) ^8.0.0

## Recent versions

- 3.0.1 (latest) — 2023-09-19
- 3.0.0 (next) — 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

## README

# encode-registry

[![Status](https://travis-ci.org/pnpm/encode-registry.svg?branch=master)](https://travis-ci.org/pnpm/encode-registry "See test builds")

> Encodes a registry URL. [Memoized](https://en.wikipedia.org/wiki/Memoization).

## Install

```
<pnpm|yarn|npm> add encode-registry
```

## Usage

```js
const encodeRegistry = require('encode-registry')

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

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

## License

[MIT](LICENSE)

---
_Source: https://npm.io/package/encode-registry · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
