3. Used by agents' projects
Dependency in 122 public GitHub projects set up for AI coding agents that we scanned (1.9%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What Happy DOM does
Lightweight DOM implementation for server-side rendering and testing without a browser.
Happy DOM popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How Happy DOM is used
- Happy DOM is a dependency in 122 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.5% of the 4,867 JavaScript/TypeScript ones), #7 of 122 in testing.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 215; those are left out of every share on this page.
- The most used alternative in our scan is jsdom (615 projects).
- Projects that use it most often also use Vitest (90.2%), Vite (70.5%), Testing Library (56.6%).
- It is more common in projects set up for OpenCode (4.7%) than for OpenAI Codex (1.5%).
By coding agent
Often used with
More about Happy DOM
Funding
- GitHub Sponsors: https://github.com/capricorn86
Head to head
- jsdom vs Happy DOM used together in 37 projects
Alternatives
Happy DOM This page
JavaScript implementation of web standards for testing DOM interactions.
Get started
Install it.
npm install happy-domNo step-by-step start for Happy DOM yet: we have not written its hand-checked card.