# @pnpm/catalogs.protocol-parser

> Parse catalog protocol specifiers and return the catalog name.

Latest version **1100.0.1** (published 2026-07-23) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pnpm/catalogs.protocol-parser
pnpm add @pnpm/catalogs.protocol-parser
yarn add @pnpm/catalogs.protocol-parser
bun add @pnpm/catalogs.protocol-parser
```

## 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 | 1100.0.1 |
| Published | 2026-07-23 |
| First published | 2024-06-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=22.13 |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 36809 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm11, types |

## Links

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

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 1100.0.1 (latest) — 2026-07-23
- 1100.0.0 — 2026-04-10
- 1001.0.0 — 2025-04-21
- 1000.0.0 — 2024-11-29
- 900.0.0 — 2024-11-28
- 0.1.0 — 2024-06-27

## README

# @pnpm/catalogs.protocol-parser

> Parse catalog protocol specifiers and return the catalog name.

Catalog protocol specifiers start with `catalog:`. The parser reads the value after that prefix as the catalog name, and returns `default` when no name is provided.

## Examples

- `catalog:foo` -> `"foo"`
- `catalog:` -> `"default"`

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