# nodeca/js-yaml

JavaScript YAML parser and dumper. Very fast.

Repository: https://github.com/nodeca/js-yaml
Canonical: https://ross.abutalabs.com/products/js-yaml
Homepage: http://nodeca.github.io/js-yaml/
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-26T20:51:08+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 35, longevity 100
- inputs: {"age_days": 5448, "days_push": 7, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6626, forks 848 (observed 2026-08-28T04:09:45.796525+00:00)

## What it is
js-yaml is a fast YAML 1.2 (and 1.1) parser and serializer for JavaScript, passing the full YAML test suite. It converts YAML text into JavaScript objects and dumps JavaScript objects back to YAML.

## Use cases
- parse yaml config files in node
- convert yaml to javascript objects
- dump javascript objects to yaml
- load yaml front matter
- validate yaml documents
- read kubernetes manifests in js

## When to choose
- you need a battle-tested, spec-compliant YAML parser in JavaScript
- you want both parsing and serialization in one small library
- you need fast YAML handling in Node or the browser

## When to avoid
- you need YAML features outside the 1.1/1.2 core schema
- you are working in a non-JavaScript language
- you need streaming parsing of extremely large YAML files

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: parsers, developer-tools, files
- platform: browser
- tags: yaml, yaml-1.2, serializer, config-files, nodejs, javascript

## Member repositories
- nodeca/js-yaml (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:45.796525+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:43:14.548637+00:00, confidence not recorded.
  - readme: https://github.com/nodeca/js-yaml (fetched 2026-08-28T04:09:45.796525+00:00, sha 644e84cad15a)
  - homepage: http://nodeca.github.io/js-yaml/ (fetched 2026-08-29T08:39:59.158241+00:00, sha 3fade13e7971)
  - registry_npm: https://registry.npmjs.org/js-yaml (fetched 2026-08-29T08:39:59.167396+00:00, sha 2670973051cb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
