jsdom
A JavaScript implementation of various web standards, for use with Node.js observed · 2026-10-19
Health v2 · maintenance only
95/100
- Activity 100
- 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-10-21. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 6118
- days_rel: 5
- days_push: 3
- n_releases_24m: 266
Adoption not part of the score
21716 stars · 1816 forks observed · 2026-10-19
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-19, confidence 0.99
jsdom is a pure‑JavaScript implementation of the DOM, HTML, and related web standards for Node.js. It lets you create and manipulate a virtual browser environment for testing, scraping, and server‑side rendering.
Use cases
- run unit tests that require a browser DOM without launching a real browser
- scrape web pages and extract data on a headless server
- render HTML emails or templates to verify layout server‑side
- perform DOM‑based transformations in a Node.js script
- debug client‑side code by reproducing browser behavior in a console
When to choose
- You need a lightweight, pure‑JS DOM implementation that works in Node.js.
- Your project requires HTML parsing and DOM manipulation for testing or server‑side rendering.
- You want to avoid the overhead of a full headless browser like Puppeteer.
When to avoid
- You need full browser features such as CSS layout, JavaScript execution, or rendering.
- Performance-critical scraping that depends on actual browser rendering.
- You require support for non‑HTML standards like WebGL or advanced media APIs.
Facets
library · maturity active
parser web-scraping testing web-development testing windows jsdom dom-emulation html-parsing browser-apis nodejs data-engineering linux macos
6 sources
- readme: https://github.com/jsdom/jsdom · fetched 2026-10-19 · b7d69c243eb6
- homepage: https://jsdom.github.io/whatwg-url/ · fetched 2026-10-05 · c2794c035358
- registry_npm: https://registry.npmjs.org/jsdom-devtools-formatter · fetched 2026-10-05 · 58f7bc03362a
- registry_npm: https://registry.npmjs.org/whatwg-url · fetched 2026-10-05 · 4f5d2b613e7c
- registry_npm: https://registry.npmjs.org/cssstyle · fetched 2026-10-05 · d55c96637bee
- registry_npm: https://registry.npmjs.org/webidl2js · fetched 2026-10-05 · ff2dca01f20d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| jsdom/jsdom | main | 95 |
| jsdom/whatwg-url | backend | 99 |
| jsdom/cssstyle | backend | 10 |
| jsdom/js-symbol-tree | backend | 10 |
| jsdom/webidl2js | backend | 98 |
| jsdom/jsdom-devtools-formatter | plugin | 23 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem