Happy DOM

A JavaScript implementation of a web browser without its graphical user interface
GitHub
3.67k
Created 6 years ago, last commit 2 days ago
130 contributors
2.17k commits
Stars added on GitHub, month by month
3
4
5
6
7
8
9
10
11
12
1
2
2024
2025
Stars added on GitHub, per day, on average
Yesterday
+6
Last week
+3.1
/day
Last month
+2.6
/day
Last 12 months
+2.5
/day
npmPackage on NPM
happy-dom
17.4.3
Monthly downloads on NPM
3
4
5
6
7
8
9
10
11
12
1
2
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

Backers

Sourcegraph    andykenward    raystubbs

Contributing

See Contributing Guide.

License

MIT License © 2019-Present David Ortner