happy-dom 20.11.2
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.
happy-dom@20.11.2 was published on 2026-08-07. Its manifest declares 7 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.0.0.
All happy-dom versions · Permanent reference to 20.11.2 · Latest release
Package specifications
| Version | 20.11.2 |
|---|---|
| License declaration | MIT |
| Published | 2026-08-07T16:13:43.834Z |
| Node.js requirement | >=20.0.0 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 7 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 8380.85 KiB |
| Published file count | 3003 |
| Package type | module |
| ES module entry | Not declared |
| Default entry | lib/index.js |
| Side effects declaration | Not declared |
| Direct advisories | 3 |
| Resolved graph dependencies | 8 |
| Repository stars | 4724 |
| Repository forks | 364 |
Install happy-dom 20.11.2
npm install happy-dom@20.11.2 pnpm add happy-dom@20.11.2 yarn add happy-dom@20.11.2
Runtime dependencies
- ws ^8.21.0
- entities ^7.0.1
- @types/ws ^8.18.1
- @types/node >=20.0.0
- whatwg-mimetype ^3.0.0
- buffer-image-size ^0.6.4
- @types/whatwg-mimetype ^3.0.2
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @types/node@26.6.6 — direct
- @types/whatwg-mimetype@3.0.2 — direct
- @types/ws@8.18.2 — direct
- buffer-image-size@0.6.4 — direct
- entities@7.0.1 — direct
- undici-types@8.9.0 — indirect
- whatwg-mimetype@3.0.0 — direct
- ws@8.22.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
Known direct advisories
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 28 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Security-Policy | 10/10 — security policy file detected |
| Code-Review | 3/10 — Found 10/30 approved changesets -- score normalized to 3 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 4/10 — dependency not pinned by hash detected -- score normalized to 4 |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 6/10 — SAST tool is not run on all commits -- score normalized to 6 |
Evidence and freshness
- https://registry.npmjs.org/happy-dom/20.11.2 — retrieved 2026-10-30T05:36:54.266Z
- https://api.deps.dev/v3/projects/github.com%2Fcapricorn86%2Fhappy-dom — retrieved 2026-10-30T04:16:42.787Z
- https://api.deps.dev/v3/systems/npm/packages/happy-dom/versions/20.11.2 — retrieved 2026-10-30T05:36:54.815Z
- https://api.deps.dev/v3/systems/npm/packages/happy-dom/versions/20.11.2:dependencies — retrieved 2026-10-30T05:36:54.848Z