jsdom is a pure-JavaScript implementation of the WHATWG DOM and HTML standards, for use with Node.js. Emulating a web browser environment without a graphical user interface, jsdom enables you to run browser-based JavaScript code, such as unit tests or web scraping scripts, in a server-side context. This is useful for testing front-end code in a Node.js environment, manipulating HTML, and simulating user interactions programmatically, providing a consistent testing or automation workflow.
The jsdom npm package had frequent releases in its early years, particularly in 2011. Release frequency varied significantly over the years, with periods of intense activity followed by months with no new versions. The most recent releases occurred in January 2025 (version 26.0.0) and April 2025 (version 26.1.0), with no releases in the months since.
Jsdom npm package downloads show a general upward trend from March 2024 to August 2025, peaking in July 2025. September 2025 data is incomplete but suggests significantly lower downloads compared to preceding months. The package consistently sees high download numbers, exceeding 70 million monthly.