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

capricorn86/happy-dom

A JavaScript implementation of a web browser without its graphical user interface observed · 2026-08-28

github.com/capricorn86/happy-dom · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

95/100

  • Activity 99
  • Release rhythm 87
  • 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: 0.0
  • age_days: 2550
  • days_rel: 7
  • days_push: 7
  • n_releases_24m: 175

Full methodology

Adoption not part of the score

4619 stars · 314 forks observed · 2026-08-28

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

Happy DOM is a JavaScript implementation of a web browser without its graphical user interface, providing a DOM implementation for Node.js and Bun. It is commonly used as a test environment for frontend frameworks and testing libraries like Vitest, Jest, and Testing Library.

Use cases

  • test React components in Jest without a real browser
  • run Vitest tests with a DOM environment
  • parse and manipulate HTML in Node.js
  • test web components with Custom Elements and Shadow DOM support
  • scrape web pages by parsing HTML with a DOM API
  • test Vue, Svelte, or Angular components headlessly

When to choose

  • you need a fast, lightweight DOM for unit tests instead of a full headless browser
  • you want Custom Elements, Shadow DOM, Mutation Observer, or Fetch API support in tests
  • you use Testing Library with Vitest, Jest, or Bun

When to avoid

  • you need real browser rendering, layout, or full JavaScript engine behavior
  • you need pixel-accurate screenshots or end-to-end browser automation
  • your code depends on browser APIs Happy DOM does not implement

Facets

library · maturity active

testing parser http-client web-scraping web-development testing frontend developer-tools bun headless-browser dom-implementation web-components shadow-dom vitest jest testing-library whatwg nodejs javascript typescript

1 source

Member repositories

RepositoryRoleHealth v2
capricorn86/happy-dommain95

For agents

markdown · JSON · MCP: product_card(name="capricorn86/happy-dom")

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