This package provides TypeScript definitions for jsdom, a pure-JavaScript implementation of web standards, often used for testing web applications in Node.js. These definitions enhance the development experience by offering type checking, autocompletion, and inline documentation for jsdom's API. Utilizing @types/jsdom improves code maintainability and reduces runtime errors when working with jsdom in TypeScript projects. It allows developers access to precise types reflecting jsdom's behavior.
The @types/jsdom npm package has had sporadic releases since July 2016. Releases were more frequent in 2017, 2020, 2021, and 2023. There were periods of no releases lasting several months, and even a year or more. The most recent release was "21.1.7" in May 2024. There have been no releases in the months leading up to August 2025.
@types/jsdom downloads show a strong upward trend from February 2024 to July 2025, peaking at over 57 million. There was significant growth during this period. August 2025's partial data is significantly lower, suggesting a potential dip or the incompleteness of the month's data.