Skip to main content

Package note

happy-dom

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.

v21.0.4

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.

Scroll the table horizontally to compare packages. Each fact includes its source and limits.

Package evidence
Facthappy-dom
Analyzed version21.0.4
npm downloads
37,722,097

2026-11-18 through 2026-11-24 (inclusive)

Source

Retrieved: 2026-11-26T00:31:40.588Z

All versions; includes CI and repeat downloads, not unique users.

Browser bundle
246.6 KB gzip

970.7 KB minified

Bundlephobia minified + gzip

Version 21.0.4

Source

Retrieved: 2026-11-26T00:31:40.598Z

Synthetic default-entry browser bundle; imports, plugins, runtime and bundler settings change app output.

Version released
2026-10-20T18:05:53.295Z

Version 21.0.4

Source

Retrieved: 2026-11-26T00:31:40.537Z

Publisher-declared metadata; not an independent code audit.

Registry modified
2026-10-20T18:05:53.708Z

Version 21.0.4

Source

Retrieved: 2026-11-26T00:31:40.537Z

Registry document modification, not necessarily a code release.

Declared license
MIT

Version 21.0.4

Source

Retrieved: 2026-11-26T00:31:40.537Z

Publisher-declared metadata; not an independent code audit.

Registry-declared types
./lib/index.d.ts

Version 21.0.4

Source

Retrieved: 2026-11-26T00:31:40.537Z

Registry-declared paths only; files, correctness and runtime compatibility have not been verified. Missing paths mean unknown.

npm unpacked size
8.8 MB

Version 21.0.4

Source

Retrieved: 2026-11-26T00:31:40.537Z

npm unpacked archive size; not a browser bundle measurement.

Security advisories
Not checked

Retrieved: Unavailable

No advisory service is queried. Not checked does not mean safe.

Analyzed versions follow the latest npm dist-tag at acquisition. Compatibility has not been verified.

  • happy-dom: 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 table records happy-dom version 21.0.4. Download counts cover all versions during the stated period. Read each source with its retrieval time and limits. Missing declarations mean unknown. Security advisories are not checked, and no composite health or quality score is assigned.

Compare with Alternatives

Free JS Stack Cheatsheet

The best package for every category — one PDF.

Join 500+ devs. No spam.