# @jest/pattern

> `@jest/pattern` is a helper library for the jest library that implements the logic for parsing and matching patterns.

Latest version **30.5.0** (published 2026-08-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @jest/pattern
pnpm add @jest/pattern
yarn add @jest/pattern
bun add @jest/pattern
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 30.5.0 |
| Published | 2026-08-28 |
| First published | 2024-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | ^18.14.0 \|\| ^20.0.0 \|\| ^22.0.0 \|\| >=24.0.0 |
| Dependencies | 2 |
| Unpacked size | 21.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 45460 |
| Maintainers | aaronabramov, simenb, rickhanlonii, openjs-operations, cpojer |

## Links

- npm: https://www.npmjs.com/package/@jest/pattern
- Repository: https://github.com/jestjs/jest
- Homepage: https://github.com/jestjs/jest#readme
- Issues: https://github.com/jestjs/jest/issues
- npm.io page: https://npm.io/package/@jest/pattern

## Dependencies (2)

- [@types/node](https://npm.io/package/@types/node.md) *
- [jest-regex-util](https://npm.io/package/jest-regex-util.md) 30.5.0

## Recent versions

- 30.5.0 (latest) — 2026-08-28
- 30.0.0-beta.8 (next) — 2025-06-04
- 30.4.0 — 2026-05-07
- 30.0.1 — 2025-06-18
- 30.0.0 — 2025-06-10
- 30.0.0-beta.6 — 2025-06-03
- 30.0.0-beta.3 — 2025-05-27
- 30.0.0-alpha.7 — 2025-01-30
- 30.0.0-alpha.6 — 2024-08-08
- 30.0.0-alpha.5 — 2024-05-30

## README

# @jest/pattern

`@jest/pattern` is a helper library for the jest library that implements the logic for parsing and matching patterns.

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