# Happy-DOM **Repository Path**: mirrors/Happy-DOM ## Basic Information - **Project Name**: Happy-DOM - **Description**: Happy DOM 是 jsdom 的替代品,用于支持 Web Components 的 SSR(Web 组件的服务器端渲染),旨在支持浏览器的常用功能 - **Primary Language**: TypeScript - **License**: MIT - **Default Branch**: master - **Homepage**: https://www.oschina.net/p/happy-dom - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-12-15 - **Last Updated**: 2026-01-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## 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 - [Vitest](https://vitest.dev/) - [Bun](https://bun.sh) - [Jest](https://jestjs.io/) - [Testing Library](https://testing-library.com/) - [Google LitElement](https://lit.dev/) - [Vue](https://vuejs.org/) - [React](https://reactjs.org) - [Svelte](https://svelte.dev/) - [Angular](https://angular.dev/) ## Sponsors

Sponsors

Sentry    Canonical

Backers

Sourcegraph    andykenward    raystubbs

## Contributing See [Contributing Guide](https://github.com/capricorn86/happy-dom/blob/master/docs/contributing.md). ## License MIT License © 2019-Present [David Ortner](https://github.com/capricorn86)