# jsdom/jsdom

A JavaScript implementation of various web standards, for use with Node.js

Repository: https://github.com/jsdom/jsdom
Canonical: https://ross.abutalabs.com/products/jsdom
Language: JavaScript
License: MIT
License Family: permissive
Topics: jsdom, html, dom-apis, nodejs, javascript
Last push: 2026-08-26T06:06:35+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 83, longevity 100
- inputs: {"age_days": 6070, "days_push": 7, "days_rel": 35, "gap_med": 0.0, "n_releases_24m": 263}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 21659, forks 1801 (observed 2026-08-28T04:11:31.934060+00:00)

## What it is
jsdom is a pure-JavaScript implementation of web standards like the WHATWG DOM and HTML Standards for Node.js. It emulates enough of a web browser environment to be useful for testing and scraping real-world web applications.

## Use cases
- parse and manipulate HTML in Node.js
- run DOM-based unit tests without a browser
- scrape web pages and query them with DOM APIs
- simulate a browser window for frontend code
- test JavaScript that relies on document and window

## When to choose
- you need a browser-like DOM environment in Node.js for testing
- you want to parse or scrape HTML using standard DOM APIs
- you're testing frontend libraries like React or jQuery without a real browser

## When to avoid
- you need full browser rendering, layout, or CSS visual behavior
- you need real network requests with full browser fidelity
- you're working outside Node.js or a JavaScript runtime

## Facets
- artifact type: library
- maturity: active
- function: parser, testing, web-scraping, http-client
- domain: web-development, frontend, testing, developer-tools, parsers
- platform: -
- tags: dom, html-parsing, web-standards, browser-emulation, whatwg, nodejs, javascript

## Member repositories
- jsdom/jsdom (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:31.934060+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:57:50.497446+00:00, confidence not recorded.
  - readme: https://github.com/jsdom/jsdom (fetched 2026-08-28T04:11:31.934060+00:00, sha b7d69c243eb6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
