# inikulin/parse5

HTML parsing/serialization toolset for Node.js. WHATWG HTML Living Standard (aka HTML5)-compliant.

Repository: https://github.com/inikulin/parse5
Canonical: https://ross.abutalabs.com/products/parse5
Language: TypeScript
License: MIT
License Family: permissive
Topics: html-parsing, html, html5, serialization, serializer, parser, whatwg
Last push: 2026-08-25T03:23:41+00:00

## Health v2 (maintenance only)
Score: 84/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 56, longevity 100
- inputs: {"age_days": 4916, "days_push": 8, "days_rel": 136, "gap_med": 132.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3925, forks 256 (observed 2026-08-28T04:08:29.844855+00:00)

## What it is
parse5 is a fast, WHATWG HTML Living Standard-compliant HTML parsing and serialization toolset for Node.js, written in TypeScript. It parses HTML exactly like modern browsers and is trusted by jsdom, Angular, Lit, Cheerio, and rehype.

## Use cases
- parse html into a dom tree in node.js
- serialize html from an ast
- build a spec-compliant html5 parser pipeline
- scrape and transform html documents
- power a dom implementation like jsdom
- sanitize or rewrite html markup

## When to choose
- you need browser-identical html parsing behavior in node
- you want the fastest spec-compliant html parser for node
- you're building tooling on top of html asts

## When to avoid
- you need to parse xml or non-html markup
- you only need simple regex-based tag extraction
- you need a browser-side dom api rather than a node parser

## Facets
- artifact type: library
- maturity: stable
- function: parser, serialization
- domain: web-development, parsers, frontend
- platform: cross-platform
- tags: html-parsing, html5, whatwg, spec-compliant, ast, serializer, typescript, nodejs

## Member repositories
- inikulin/parse5 (main) score 84

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:29.844855+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-29T18:24:44.143539+00:00, confidence not recorded.
  - readme: https://github.com/inikulin/parse5 (fetched 2026-08-28T04:08:29.844855+00:00, sha 757ee5be9d1b)
  - registry_npm: https://registry.npmjs.org/parse5 (fetched 2026-08-29T09:18:56.172971+00:00, sha 73669a56aa00)
- Data as of 2026-08-30T08:39:29.467469+00:00.
