html-parse-stringify

Parses well-formed HTML (meaning all tags closed) into an AST and back. quickly.

4.0.1Latest, 22 Jul 2026
11MDownloads, last month
0Advisories on the latest
1Advisories, all versions
MITLicence
3Stars

Known advisories

Severity Advisory Fix Published
Moderate html-parse-stringify and html-parse-stringify2 vulnerable to Regular expression denial of service (ReDoS) CVE-2021-23346 Fixed in 2.0.1 18 Mar 2021

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.