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 goal of Happy DOM is to emulate enough of a web browser to be useful for testing, scraping web sites, and server-side rendering. Happy DOM focuses heavily on performance and can be used as an alternative to JSDOM. Happy DOM now supports Declarative Shadow DOM which can be used for server-side rendering of web components. This package makes it possible to use Happy DOM with Jest.

Features

  • Custom Elements (Web Components)
  • Shadow Root (Shadow DOM)
  • Declarative Shadow DOM
  • Mutation Observer
  • Tree Walker
  • Works with Google LitHTML

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML, Browsers

License

MIT License

Follow Happy DOM

Happy DOM Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Happy DOM!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript HTML XHTML, TypeScript Browsers

Registered

2023-04-21