NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #344 most downloaded on npm
render domhandler DOM nodes to a string
Last release 5 months ago
02 May 2026
Ships unpredictably
gaps range from 5 weeks to 4.0 years
Most releases are documented
notes for 12 of 20 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
20 releases · first in 2014
fix: check Object.hasOwn in for-in (restores backwards compat) 17bd85e
Object.hasOwn in for-in (restores backwards compat) 17bd85eFull Changelog: v3.1.0...v3.1.1
Serialising a DOM is now ~40% faster by @fb55 in #1635
encodeEntities: false caveat by @fb55 in #1632Full Changelog: v3.0.0...v3.1.0
One column per quarter.
BREAKING: Make module ESM only by @fb55 in #1614
Full Changelog: v2.0.0...v3.0.0
Added a encodeEntities option with utf8 output ( #685 ) c9abf30
domhandler to 5.0.2, entities to 4.2.0 b0b31abFull Changelog: v1.3.2...v2.0.0
This is a re-release of 1.3.2. See the release notes of 1.4.0 for an explanation of why this was necessary.
This is a re-release of 1.3.2. See the release notes of 1.4.0 for an explanation of why this was necessary.
Note: This release unfortunately depends on the TypeScript types of domhandler@5.0 and should therefore have been a major release. Release 1.4.1 was p
Note: This release unfortunately depends on the TypeScript types of domhandler@5.0 and should therefore have been a major release. Release 1.4.1 was published to fix this.
refactor: Simplify array-like check 523497f
docs: Add documentation d389977
Default decodeEntities to true 882c53c
Fixes:
decodeEntities to true 882c53cxmlMode (#282) 5590940Other:
Commit Range:
v1.2.0...v1.3.0
chore(ci): Run test on ppc64le as well ( #250 by @nageshlop ) 29a4515
Remove null checks before accessing a tag's .children. When using the library with a non-standard DOM, please make sure your code still works as expec
.children. When using the library with a non-standard DOM, please make sure your code still works as expected.Nothing published for this version
Add explicit option to control self-closing tags (based on #77)
emptyAttrs option (fixes #72)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →