Skip to content
Agents tracked: 502 Releases (7d): 613 Agent status: 4 with issuesSince last limit reset: Claude 7d · Codex 5d For AI agents: Markdown Updated Nov 18, 2026

jsdom vs Happy DOM

In 4,864 JavaScript/TypeScript projects set up for AI coding agents, jsdom is a dependency in 620 (12.7%) and Happy DOM in 122 (2.5%): jsdom is 5.1× as common. Among repos created in the last 90 days that use a testing tool, jsdom is in 17.9% and Happy DOM in 2.6%, against 27.3% and 5.4% of older ones. 36 projects list both, often a sign of a migration or of a monorepo with several apps.

Testing npm Updated Nov 17, 2026

jsdom12.7%
Happy DOM2.5%

Share of 4,864 JavaScript/TypeScript projects set up for AI coding agents that list each one as a dependency.

Side by side

jsdomHappy DOM
Agent projects that use it620122
Rank in testing#4#7
In new repos with a testing tool (last 90 days)17.9%2.6%
In older repos with one27.3%5.4%
Downloads, last 7 days158M35.1M
GitHub stars21.8K4,745
Last push to its repoNov 13, 2026Nov 16, 2026
LicenseMITMIT
Funding——
Projects that list both36

Downloads include CI runs and installs as a dependency of other packages. Stars and pushes are from GitHub's API; downloads from npm.

By coding agent

Projects set up forJavaScript/TypeScript reposjsdomHappy DOM
Claude Code2,61714.3%3.4%
GitHub Copilot2,35013.8%2.9%
Cursor1,99012.6%2.0%
Gemini CLI42218.5%1.9%
OpenAI Codex40917.4%1.7%
OpenCode30414.1%5.6%
OpenClaw24112.0%0%
Devin Desktop23114.7%2.2%
Kiro12516.8%0%
Roo-Code9010.0%0%

Share of the JavaScript/TypeScript repos configured for each agent (its config file in the repo) that list the tool. A repo set up for two agents counts for both.

jsdom

JavaScript implementation of web standards for testing DOM interactions.

Most often used with it:

Vitest88.2% of its projects
Testing Library67.6% of its projects
Vite68.5% of its projects
TypeScript89.4% of its projects
React68.1% of its projects

npm install jsdom

Happy DOM

Lightweight DOM implementation for server-side rendering and testing without a browser.

Most often used with it:

Vitest90.2% of its projects
Vite69.7% of its projects
Testing Library55.7% of its projects
Playwright (JavaScript)58.2% of its projects
Zod60.7% of its projects

npm install happy-dom

More matchups

Vitest vs JestVitest vs Nx Jest Plugin

How we count

Projects are public GitHub repos our weekly scan finds through coding-agent config files (CLAUDE.md, AGENTS.md, .cursor/mcp.json and others); a project uses a tool when its package.json, requirements.txt or pyproject.toml lists it. "Same job" was checked for every pair, so add-ons and companions are never paired. Shares by repo age compare repos created in the last 90 days with older ones in the same scan. More on the method.