# @pnpm/config.normalize-registries

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

Latest version **1101.0.3** (published 2026-10-06) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 80/100 (A)** — status: active.

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1101.0.3 |
| Published | 2026-10-06 |
| First published | 2026-03-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.13 |
| Dependencies | 4 |
| Unpacked size | 31.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 36817 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm11 |

## Links

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

## Dependencies (4)

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

## Recent versions

- 1101.0.3 (latest) — 2026-10-06
- 1101.0.2 — 2026-09-25
- 1101.0.1 — 2026-08-29
- 1101.0.0 — 2026-08-23
- 1100.1.0 — 2026-08-03
- 1100.0.13 — 2026-07-31
- 1100.0.12 — 2026-07-29
- 1100.0.11 — 2026-07-23
- 1100.0.10 — 2026-07-22
- 1100.0.9 — 2026-07-13
- 1100.0.8 — 2026-06-15
- 1100.0.7 — 2026-06-10
- 1100.0.6 — 2026-06-05
- 1100.0.5 — 2026-05-27
- 1100.0.4 — 2026-05-20
- … 5 more at https://npm.io/package/@pnpm/config.normalize-registries/versions

## README

# @pnpm/config.normalize-registries

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

## Installation

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

## Usage

```typescript
import normalizeRegistries from '@pnpm/config.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/config.normalize-registries · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
