Package
@happy-dom/jest-environment
Use Happy DOM as environment in Jest.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 125.1k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 13 days ago
- v20.14.5
- GitHub stars
- 4.7k
- 330 forks
- Open issues / PRs
- 335 / 120
- Contributors
- -
- Commits, last 52 weeks
- 141
No weekly download data in the snapshot.
125,067 downloads last week, 644,440 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 20.14.5, 12 Sept 202613 days ago
- First published
- -
- Last push to GitHub
- 12 Sept 202613 days before the snapshot
- Repository archived
- No
- Open issues
- 335
- Open pull requests
- 120
- Commits, last 52 weeks
- 141
- Dependents on npm
- 2
Major versions
-
Recent releases
-
- Module format
- ESM onlyFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=20.0.0
- Runtimes
- -
- Unpacked size (npm)
- 25 kB
- Dependencies (1)
happy-dom- Peer dependencies (5)
jest-mockjest-util@jest/types@jest/environment@jest/fake-timers
npm install @happy-dom/jest-environment- jsDelivr
https://cdn.jsdelivr.net/npm/@happy-dom/jest-environment@20.14.5/ - unpkg
https://unpkg.com/@happy-dom/jest-environment@20.14.5/ - esm.sh
https://esm.sh/@happy-dom/jest-environment@20.14.5
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| jsdom | 75.1m | - | 3 days ago | CommonJS | - |
| @applitools/jsdom | 7.6k | - | 4 years ago | CommonJS | - |
| @vivliostyle/jsdom | 5.1k | - | 4 months ago | CommonJS | - |
| @memlab/e2e | 217.8k | - | 26 days ago | CommonJS | - |
| webdriver | 2m | - | 4 days ago | ESM + CommonJS | - |
| @wdio/json-reporter | 56.8k | - | 4 days ago | ESM + CommonJS | - |
| @page-agent/core | 13.7k | - | 18 days ago | ESM only | - |
| @wdio/static-server-service | 13.1k | - | 4 days ago | ESM only | - |
Indexability: Indexed.