# @pnpm/normalize-registries

> Accepts a mapping of registry URLs and returns a mapping with the same URLs but normalized

Latest version **1000.1.9** (published 2026-01-19) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pnpm/normalize-registries
pnpm add @pnpm/normalize-registries
yarn add @pnpm/normalize-registries
bun add @pnpm/normalize-registries
```

## Health

**Score 70/100 (B)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1000.1.9 |
| Published | 2026-01-19 |
| First published | 2020-04-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.12 |
| Dependencies | 3 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 36525 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm10 |

## Links

- npm: https://www.npmjs.com/package/@pnpm/normalize-registries
- Repository: https://github.com/pnpm/pnpm.git#main
- Homepage: https://github.com/pnpm/pnpm/tree/main/config/normalize-registries#readme
- Issues: https://github.com/pnpm/pnpm/issues
- Funding: https://opencollective.com/pnpm
- npm.io page: https://npm.io/package/@pnpm/normalize-registries

## Dependencies (3)

- [ramda](https://npm.io/package/ramda.md) npm:@pnpm/ramda@0.28.1
- [@pnpm/types](https://npm.io/package/@pnpm/types.md) 1001.3.0
- [normalize-registry-url](https://npm.io/package/normalize-registry-url.md) 2.0.1

## Recent versions

- 1000.1.9 (latest) — 2026-01-19
- 1000.1.10 (latest-10) — 2026-06-10
- 2.0.14 (latest-6) — 2022-07-05
- 1.0.3 (pnpm-temp) — 2020-06-22
- 1.0.0 (next) — 2020-04-05
- 1000.1.8 — 2025-12-15
- 1000.1.7 — 2025-12-08
- 1000.1.6 — 2025-11-20
- 1000.1.5 — 2025-11-09
- 1000.1.4 — 2025-10-21
- 1000.1.3 — 2025-09-12
- 1000.1.2 — 2025-07-23
- 1000.1.1 — 2025-05-13
- 1000.1.0 — 2025-04-21
- 1000.0.6 — 2025-04-07
- … 55 more at https://npm.io/package/@pnpm/normalize-registries/versions

## README

# @pnpm/normalize-registries

> Accepts a mapping of registry URLs and returns a mapping with the same URLs but normalized

## Installation

```
pnpm add @pnpm/normalize-registries
```

## Usage

```typescript
import normalizeRegistries from '@pnpm/normalize-registries'

normalizeRegistries({
  'default': 'https://registry.npmjs.org',
  '@foo': 'https://example.com',
})
// will return the same object but the URLs will end with a /
```

## License

[MIT](LICENSE)

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