# @pnpm/matcher

> A simple pattern matcher for pnpm

Latest version **1000.1.0** (published 2025-10-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install @pnpm/matcher
pnpm add @pnpm/matcher
yarn add @pnpm/matcher
bun add @pnpm/matcher
```

## 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.0 |
| Published | 2025-10-21 |
| First published | 2019-10-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=18.12 |
| Dependencies | 1 |
| Unpacked size | 9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 36776 |
| Maintainers | pnpmuser, zkochan |
| Keywords | pnpm, pnpm10, match, pattern, wildcard |

## Links

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

## Dependencies (1)

- [escape-string-regexp](https://npm.io/package/escape-string-regexp.md) ^4.0.0

## Recent versions

- 1000.1.0 (latest) — 2025-10-21
- 1.0.3 (pnpm-temp) — 2020-06-15
- 1.0.1 (next) — 2020-04-09
- 1000.0.0 — 2024-11-29
- 900.0.0 — 2024-11-28
- 6.0.0 — 2024-04-09
- 5.0.0 — 2023-03-24
- 4.0.1 — 2022-11-20
- 4.0.0 — 2022-10-16
- 3.2.0 — 2022-10-03
- 3.1.0 — 2022-09-18
- 3.0.0 — 2022-03-19
- 2.0.0 — 2021-04-05
- 1.0.2 — 2020-04-25
- 1.0.0 — 2019-10-06

## README

# @pnpm/matcher

> A simple pattern matcher for pnpm

## Install

```
pnpm add @pnpm/matcher
```

## Usage

```ts
import { createMatcher } from '@pnpm/matcher'

const match = createMatcher(['eslint-*'])
match('eslint-plugin-foo')
//> true
```

## License

[MIT](LICENSE)

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