npm · npm:happy-dom
happy-dom active
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 stable version of happy-dom is 21.0.4, published on 2026-10-20. Verified by Vigia on 2026-11-13.
| Latest stable version | 21.0.4 |
|---|---|
| Published | 2026-10-20 18:05:53 UTC |
| Install | npm install happy-dom@latest |
| Requires (engines) | {"node":">=20.0.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 21.0.4 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-13 04:35:48 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-15 23:32:07 UTC · 28 days ago |
| Stable releases in the last 12 months | 81 |
| Published versions | 777 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
21.0.3 | 2026-10-15 23:32:07 UTC |
21.0.2 | 2026-10-15 22:53:49 UTC |
21.0.1 | 2026-10-12 00:31:42 UTC |
21.0.0 | 2026-10-11 23:46:41 UTC |
20.14.6 | 2026-10-08 23:18:02 UTC |
20.14.5 | 2026-09-12 00:07:47 UTC |
20.14.4 | 2026-09-12 00:05:02 UTC |
20.14.3 | 2026-09-09 22:39:32 UTC |
20.14.2 | 2026-09-09 22:00:22 UTC |
20.14.1 | 2026-09-09 21:50:01 UTC |
20.14.0 | 2026-09-03 21:41:56 UTC |
20.13.2 | 2026-09-02 15:52:14 UTC |
20.13.1 | 2026-09-02 12:03:07 UTC |
20.13.0 | 2026-09-02 09:40:37 UTC |
20.12.2 | 2026-09-02 00:25:23 UTC |
20.12.1 | 2026-09-01 23:35:11 UTC |
20.12.0 | 2026-08-29 16:12:16 UTC |
20.11.15 | 2026-08-28 23:47:38 UTC |
20.11.14 | 2026-08-28 22:51:26 UTC |
20.11.13 | 2026-08-28 15:19:50 UTC |
Showing the 20 most recent of 777 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 14.12.3 |
node 18 | 17.6.1 |
node 20 | 21.0.3 |
node 22 | 21.0.3 |
node 24 | 21.0.3 |
Upgrade guides for this package
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of happy-dom?
The latest stable version of happy-dom is 21.0.4, published on 2026-10-20. Verified by Vigia on 2026-11-13.
How do I install the latest version of happy-dom?
Run npm install happy-dom@latest. The latest stable version is 21.0.4 (verified 2026-11-13).
Is happy-dom deprecated?
No. happy-dom is not marked as deprecated in the registry.
Which Node.js version does happy-dom require?
happy-dom 21.0.4 declares this requirement: {"node":">=20.0.0"}.
Does happy-dom 21.0.4 have known vulnerabilities?
No known advisories affect happy-dom 21.0.4 according to the data Vigia checks.
Is happy-dom still maintained?
happy-dom published 81 stable releases in the last 12 months; the most recent was 28 days ago. Activity: active.
Observed changes
- Wed Oct 21 2026 02:06:34 GM +0000 (Coordinated Universal Time) — released 21.0.4 → 21.0.4
- ue Oct 20 2026 18:06:29 GMT+0000 (Coordinated Universal Time) — released 21.0.3 → 21.0.4
- Fri Oct 16 2026 01:59:13 GM +0000 (Coordinated Universal Time) — released 21.0.3 → 21.0.3
- hu Oct 15 2026 23:59:11 GMT+0000 (Coordinated Universal Time) — released 21.0.1 → 21.0.3
- Mon Oct 12 2026 01:54:54 GM +0000 (Coordinated Universal Time) — released 21.0.0 → 21.0.1
- Sun Oct 11 2026 23:54:51 GM +0000 (Coordinated Universal Time) — released 20.14.6 → 21.0.0
- Fri Oct 09 2026 09:49:29 GM +0000 (Coordinated Universal Time) — released 20.14.6 → 20.14.6
- hu Oct 08 2026 23:49:21 GMT+0000 (Coordinated Universal Time) — released 20.14.5 → 20.14.6
Related packages
- size-sensor
- tslog
- @csstools/convert-colors
- @jimp/plugin-normalize
- @nx/nx-linux-arm64-musl
- babel-plugin-transform-remove-console
- grunt-legacy-util
- thrift
- @nx/node
- jsonstream-next
- @stoplight/spectral-cli
- @serverless/utils
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/happy-dom) [](https://vigia.coredls.cloud/npm/happy-dom) [](https://vigia.coredls.cloud/npm/happy-dom)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/happy-dom
GET https://vigia.coredls.cloud/v1/packages/npm/happy-dom/versions/{version}