jsdom
npmv29.1.1A JavaScript implementation of many web standards
Overview
jsdom is an npm package that a JavaScript implementation of many web standards. The latest version is 29.1.1, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need a JavaScript implementation of many web standards and value a focused solution.
When not to use it
Consider an alternative if you need to minimize your dependency tree, have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
Cons
- Large dependency tree (42 direct dependencies) increases install size and audit surface.
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of jsdom.
Dependencies
Runtime (21)
Peer (1)
Dev (20)
Used by
Popular packages that depend on jsdom.
Strict TypeScript and Flow types for style based on MDN data
Next generation testing framework powered by Vite
Selectors for Redux.
Official React bindings for Redux
The official, opinionated, batteries-included toolset for efficient Redux development
Fire events the same way the user does
A fast alternative to legacy querystring module
Seamless REST/GraphQL API mocking library for browser and Node.js.
A per-spec XML serializer implementation
A CSS selector engine.
Alternatives to jsdom
Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
A per-spec XML serializer implementation
Escape string for use in HTML
Check whether a given string matches the `PotentialCustomElementName` production as defined in the HTML Standard.
Parses, serializes, and manipulates MIME types, according to the WHATWG MIME Sniffing Standard
Sniff the encoding from a HTML byte stream
An HTTP/1.1 client, written from scratch for Node.js
Minimizer plugin for webpack
UI for Vitest
Frequently installed together
TypeScript definitions for node
React is a JavaScript library for building user interfaces.
Prettier is an opinionated code formatter
An AST-based pattern checker for JavaScript.
TypeScript definitions for react
Next generation testing framework powered by Vite
React package for working with the DOM.
An extremely fast JavaScript and CSS bundler and minifier.
Predictable state container for JavaScript apps
Official React bindings for Redux
Low level bindings for creating Web Standard contexts.
Native-ESM powered web dev build tool
Version history
| Version | Published | License |
|---|---|---|
| 29.1.1latest | 2 months ago | MIT |
| 29.1.0 | 2 months ago | MIT |
| 29.0.2 | 3 months ago | MIT |
| 29.0.1 | 4 months ago | MIT |
| 29.0.0 | 4 months ago | MIT |
| 28.1.0 | 5 months ago | MIT |
| 28.0.0 | 5 months ago | MIT |
| 27.4.0 | 6 months ago | MIT |
| 27.3.0 | 7 months ago | MIT |
| 27.2.0 | 8 months ago | MIT |
| 27.1.0 | 8 months ago | MIT |
| 27.0.1 | 9 months ago | MIT |
| 27.0.0 | 10 months ago | MIT |
| 27.0.0-beta.3 | 10 months ago | MIT |
| 27.0.0-beta.2 | 1 year ago | MIT |
| 27.0.0-beta.1 | 1 year ago | MIT |
| 27.0.0-beta.0 | 1 year ago | MIT |
| 26.1.0 | 1 year ago | MIT |
| 26.0.0 | 1 year ago | MIT |
| 25.0.1 | 1 year ago | MIT |
Frequently asked questions
How do I install jsdom?
Run `npm install jsdom` to add jsdom to your npm project.
What license is jsdom released under?
jsdom is distributed under the MIT license.
How popular is jsdom?
jsdom has approximately 0 downloads per week and 3 known dependent packages.