Skip to content
Agents tracked: 378 Downloads (7d): 244M down 5.7% GitHub stars: 8.4M VS Code installs: 151M Releases (7d): 407 Agent status: 1 with issues Updated Oct 10, 2026

jsdom

JavaScript implementation of web standards for testing DOM interactions.

Testing npm MIT

Used in agent projects
681
5.4% of 12,697 public repos built with AI coding agents
Rank in testing
#5 of 40
by use in those projects
Downloads
112M
npm, last 7 days, jsdom
GitHub stars
21.7K
last push Oct 7, 2026

How jsdom is used

jsdom is a dependency in 681 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (5.4%), #5 of 40 in testing. The most used alternative there is Vitest. Projects that use it most often also use Vitest (89.1%), Testing Library (70.0%), Vite (72.4%). It is more common in projects set up for OpenAI Codex (15.8%) than for GitHub Copilot (9.7%).

Often used with jsdom

Vitest89.1% of jsdom projects · 7.3× more than average
Testing Library70.0% of jsdom projects · 9.7× more than average
Vite72.4% of jsdom projects · 3.2× more than average
Playwright (JavaScript)43.6% of jsdom projects · 5.0× more than average
TypeScript89.1% of jsdom projects · 1.6× more than average
ESLint72.7% of jsdom projects · 1.9× more than average
Tailwind CSS66.4% of jsdom projects · 1.9× more than average
Zod46.0% of jsdom projects · 2.7× more than average

By coding agent

Claude Code10.2% of projects set up for it
GitHub Copilot9.7% of projects set up for it
Cursor9.9% of projects set up for it
OpenAI Codex15.8% of projects set up for it
Gemini CLI14.8% of projects set up for it
OpenCode11.6% of projects set up for it
Devin Desktop10.2% of projects set up for it
Kiro15.1% of projects set up for it

Share of public repos configured for each agent that list jsdom as a dependency.

Install

Packagenpm install jsdom
Main stacksTypeScript / JavaScript (418), Next.js (197), Python (40), PHP (12)
Example projectshandsontable/handsontable, Automattic/wp-calypso, JMBeresford/retrom, ant-design/ant-design-web3, av/remotion-bits

Alternatives to jsdom

All testing

Tool Used in agent projectsDownloads / wk GitHub starsLicense
Vitest npm
Next-generation testing framework powered by Vite with native ESM.
1,549 (12.2%) 123M 17.2K MIT
Playwright (JavaScript) npm
Cross-browser automation library for end-to-end testing.
1,117 (8.8%) 74.2M 97.4K Apache-2.0
Testing Library npm
Testing utilities for React encouraging testing user behavior.
915 (7.2%) 68.7M 19.7K MIT
Jest npm
Delightful JavaScript testing framework with minimal configuration.
702 (5.5%) 46.3M 45.6K MIT
pytest pypi
Simple, powerful Python testing framework with fixtures and plugins.
330 (2.6%) 196M 14.6K —
Chai npm
BDD/TDD assertion library for Node.js and browsers with expressive syntax.
305 (2.4%) 14M 8,265 MIT
Mocha npm
Feature-rich JavaScript test framework for Node.js and browsers.
281 (2.2%) 12.6M 22.9K MIT
ts-mocha npm
Mocha wrapper for running TypeScript tests directly with ts-node without compilation.
191 (1.5%) 573K 196 MIT
Is jsdom right for your project? Ask AgentGid →