# @lezer/yaml

> Lezer-based YAML grammar

Latest version **1.0.4** (published 2026-01-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @lezer/yaml
pnpm add @lezer/yaml
yarn add @lezer/yaml
bun add @lezer/yaml
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.0.4 |
| Published | 2026-01-29 |
| First published | 2024-01-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 95.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Marijn Haverbeke |
| Maintainers | marijn |

## Links

- npm: https://www.npmjs.com/package/@lezer/yaml
- Repository: https://github.com/lezer-parser/yaml
- Homepage: https://github.com/lezer-parser/yaml#readme
- Issues: https://github.com/lezer-parser/yaml/issues
- npm.io page: https://npm.io/package/@lezer/yaml

## Dependencies (3)

- [@lezer/lr](https://npm.io/package/@lezer/lr.md) ^1.4.0
- [@lezer/common](https://npm.io/package/@lezer/common.md) ^1.2.0
- [@lezer/highlight](https://npm.io/package/@lezer/highlight.md) ^1.0.0

## Recent versions

- 1.0.4 (latest) — 2026-01-29
- 1.0.3 — 2024-04-30
- 1.0.2 — 2024-01-28
- 1.0.1 — 2024-01-24
- 1.0.0 — 2024-01-22

## README

# @lezer/yaml

This is a [YAML](https://yaml.org/) grammar for the
[lezer](https://lezer.codemirror.net/) parser system.

Reference:

  - https://yaml.org/spec/1.2.2/

The initial implementation of this package was funded by [Braintrust
Data](https://braintrustdata.com/).

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