Happy DOM

A JavaScript implementation of a web browser without its graphical user interface
GitHub
3.78k
Created 6 years ago, last commit 8 days ago
134 contributors
2.18k commits
Stars added on GitHub, month by month
5
6
7
8
9
10
11
12
1
2
3
4
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+2
Last week
+1.6
/day
Last month
+1.6
/day
Last 12 months
+2.3
/day
npmPackage on NPM
happy-dom
17.4.6
Monthly downloads on NPM
5
6
7
8
9
10
11
12
1
2
3
4
2024
2025
README

Happy DOM Logo

A JavaScript implementation of a web browser without its graphical user interface.

Published on NPM

Documentation | Getting started | Setup as Test Environment

DOM Features

  • Custom Elements (Web Components)

  • Declarative Shadow DOM

  • Mutation Observer

  • Tree Walker

  • Fetch API

And much more..

Works With

Sponsors

Gold Sponsors

RT Vision       Microsoft

Sponsors

Sentry    Canonical

Backers

Sourcegraph    andykenward    raystubbs

Contributing

See Contributing Guide.

License

MIT License © 2019-Present David Ortner