# @cucumber/tag-expressions

> Cucumber Tag Expression parser

Latest version **11.0.1** (published 2026-08-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cucumber/tag-expressions
pnpm add @cucumber/tag-expressions
yarn add @cucumber/tag-expressions
bun add @cucumber/tag-expressions
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 11.0.1 |
| Published | 2026-08-05 |
| First published | 2020-01-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 27.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 20 |
| Author | Cucumber Limited |
| Maintainers | cukebot |
| Keywords | cucumber |

## Links

- npm: https://www.npmjs.com/package/@cucumber/tag-expressions
- Repository: https://github.com/cucumber/tag-expressions
- Issues: https://github.com/cucumber/tag-expressions/issues
- npm.io page: https://npm.io/package/@cucumber/tag-expressions

## Recent versions

- 11.0.1 (latest) — 2026-08-05
- 11.0.0 — 2026-07-23
- 10.0.0 — 2026-06-11
- 9.1.0 — 2026-02-17
- 9.0.0 — 2026-01-25
- 8.1.0 — 2025-11-26
- 8.0.0 — 2025-10-14
- 7.0.0 — 2025-10-03
- 6.2.0 — 2025-05-25
- 6.1.2 — 2025-01-29
- 6.1.1 — 2024-10-31
- 6.1.0 — 2024-01-10
- 6.0.0 — 2023-10-13
- 5.0.6 — 2023-08-13
- 5.0.5 — 2023-08-11
- … 10 more at https://npm.io/package/@cucumber/tag-expressions/versions

## README

# Cucumber Tag Expressions for JavaScript

[The docs are here](https://cucumber.io/docs/cucumber/api/#tag-expressions).

## Usage

```typescript
import { type Node, parse } from '@cucumber/tag-expressions'

const expressionNode: Node = parse('@tagA and @tagB')

expressionNode.evaluate(['@tagA', '@tagB']) // => true
expressionNode.evaluate(['@tagA', '@tagC']) // => false
```

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