Happy DOM

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