Show HN: Warpdom – drop-in jsdom replacement for Vitest and Jest
Category: devtools
Tags: dom, testing, jsdom-alternative, vitest, jest
Score: 7.3/10 (Innovation: 6, Technical: 8, Documentation: 8, Utility: 7)
Warpdom is a from-scratch WHATWG-compliant DOM implementation designed as a drop-in replacement for jsdom in Vitest and Jest test environments. It achieves parity with jsdom across tens of thousands of tests while being consistently faster, and it intelligently adapts behavior to match the installed jsdom version. The project provides rigorous benchmarking data, version-aware compatibility, and a one-command comparison tool for evaluating against existing suites.
Target audience: frontend devs, backend devs writing component tests, test infrastructure engineers
Repository: https://github.com/sonukapoor/warpdom · JavaScript · MIT · 4 stars
View on Hacker News