eemeli/yaml
YAML parser and serialiser for JavaScript observed · 2026-08-28
Health v2 · maintenance only
88/100
- Activity 95
- Release rhythm 71
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 43.5
- age_days: 3138
- days_rel: 114
- days_push: 32
- n_releases_24m: 11
Adoption not part of the score
1689 stars · 175 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A comprehensive YAML parser and stringifier library for JavaScript and TypeScript, supporting YAML 1.1 and 1.2 with full comment and blank-line preservation. It includes a layered API from simple parse/stringify to a full document AST, plus a bundled command-line tool.
Use cases
- parse yaml config files in node
- convert to yaml and back
- read and write yaml while keeping comments
- parse yaml in the browser
- validate yaml against the spec test suite
- edit yaml documents programmatically
- format yaml files from the command line
When to choose
- you need spec-compliant YAML 1.1/1.2 parsing with full test-suite coverage
- you must preserve or modify comments and blank lines in YAML documents
- you want a dependency-free library that works in Node.js and browsers
- you need fine-grained access to the YAML AST or CST
When to avoid
- you only need simple JSON-style parsing and don't care about YAML edge cases
- you need YAML parsing in a non-JavaScript language
- you need a streaming parser for extremely large YAML files
Facets
library · maturity stable
parser serialization yaml cli developer-tools parsers files apis browser cli cross-platform yaml-parser yaml-stringifier yaml-1-2 comments-preservation zero-dependencies typescript nodejs deno
3 sources
- readme: https://github.com/eemeli/yaml · fetched 2026-08-28 · 55bf051b7834
- homepage: https://eemeli.org/yaml · fetched 2026-08-29 · 1db23d1a5ea8
- registry_npm: https://registry.npmjs.org/yaml · fetched 2026-08-29 · 41a51457996b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| eemeli/yaml | main | 88 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem