happy-dom
npmv20.11.0TypeScriptHappy DOM is a JavaScript implementation of a web browser without its graphical user interface. It includes many web standards from WHATWG DOM and HTML.
Overview
happy-dom is an npm package that 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. The latest version is 20.11.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need 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 and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of happy-dom.
Dependencies
Runtime (7)
Dev (5)
Used by
Popular packages that depend on happy-dom.
Next generation testing framework powered by Vite
SQLite Wasm conveniently wrapped as an ES Module.
Minimal H(TTP) framework built for high performance and portability.
Alternatives to happy-dom
A JavaScript implementation of many web standards
A per-spec XML serializer implementation
Browser-friendly inheritance fully compatible with standard node.js inherits()
Fast, unopinionated, minimalist web framework
Promise based HTTP client for the browser and node.js
Escape string for use in HTML
The React Framework
Delightful JavaScript Testing.
LRU and FIFO caches for Client or Server
Fast and low overhead web framework, for Node.js
Koa web app framework
Delightful JavaScript Testing.
Frequently installed together
TypeScript definitions for node
Native-ESM powered web dev build tool
Modify strings, generate sourcemaps
Next generation testing framework powered by Vite
Low level bindings for creating Web Standard contexts.
Browser running for Vitest using playwright
Public API for OpenTelemetry
V8 coverage provider for Vitest
A JavaScript implementation of many web standards
An extremely fast JavaScript and CSS bundler and minifier.
TypeScript-first schema declaration and validation library with static type inference
React is a JavaScript library for building user interfaces.
Version history
| Version | Published | License |
|---|---|---|
| 20.11.0latest | 20 hours ago | MIT |
| 20.10.6 | 1 month ago | MIT |
| 20.10.5 | 1 month ago | MIT |
| 20.10.4 | 1 month ago | MIT |
| 20.10.3 | 1 month ago | MIT |
| 20.10.2 | 1 month ago | MIT |
| 20.10.1 | 1 month ago | MIT |
| 20.10.0 | 1 month ago | MIT |
| 20.9.0 | 3 months ago | MIT |
| 20.8.9 | 3 months ago | MIT |
| 20.8.8 | 3 months ago | MIT |
| 20.8.7 | 3 months ago | MIT |
| 20.8.6 | 3 months ago | MIT |
| 20.8.5 | 3 months ago | MIT |
| 20.8.4 | 4 months ago | MIT |
| 20.8.3 | 4 months ago | MIT |
| 20.8.2 | 4 months ago | MIT |
| 20.8.1 | 4 months ago | MIT |
| 20.8.0 | 4 months ago | MIT |
| 20.7.2 | 4 months ago | MIT |
Maintainers
Frequently asked questions
How do I install happy-dom?
Run `npm install happy-dom` to add happy-dom to your npm project.
What license is happy-dom released under?
happy-dom is distributed under the MIT license.
How popular is happy-dom?
happy-dom has approximately 0 downloads per week and 1 known dependent packages.