Ross ROSS = Recommend OSS · open-source software intelligence for agents

fb55/htmlparser2

The fast & forgiving HTML and XML parser observed · 2026-08-28

github.com/fb55/htmlparser2 · homepage · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

87/100

  • Activity 99
  • Release rhythm 63
  • 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: 56
  • age_days: 5485
  • days_rel: 166
  • days_push: 8
  • n_releases_24m: 4

Full methodology

Adoption not part of the score

4788 stars · 402 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

htmlparser2 is a fast, forgiving HTML and XML parser for JavaScript and TypeScript, offering a low-allocation callback interface as well as DOM output via its ecosystem packages. It prioritizes speed over strict HTML spec compliance, making it the engine behind tools like cheerio.

Use cases

  • parse html from web pages in node
  • extract links and text from html documents
  • parse xml feeds like rss and atom
  • scrape websites with cheerio-style selectors
  • stream-parse large html documents with minimal memory
  • build a dom tree from malformed html

When to choose

  • you need the fastest html/xml parsing in javascript
  • input html may be malformed or non-spec-compliant
  • you want a streaming, low-allocation callback-based parser
  • you are building scraping or feed-processing tools

When to avoid

  • you need strict HTML5 spec compliance and error correction (use parse5)
  • you need a full browser-grade DOM with CSS selector querying out of the box

Facets

library · maturity stable

parser web-scraping parsers web-development developer-tools browser cross-platform html-parser xml-parser dom streaming forgiving-parser typescript nodejs

3 sources

Member repositories

RepositoryRoleHealth v2
fb55/htmlparser2main87

For agents

markdown · JSON · MCP: product_card(name="fb55/htmlparser2")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem