htmlparser2-20kb
v3.10.14
Published
Fast & forgiving HTML/XML parser bundled for the browser, < 20 KB, no dependencies
Readme
htmlparser2-20kb
Fast & forgiving HTML/XML parser bundled for the browser, < 20 KB, no dependencies
Includes:
htmlparser23.xdomhandler2.xdom-serializerwith a fix for #26- The most useful parts of
domutils - A
createutility function for simple DOM node creation - TypeScript type definitions
Excludes:
- The
decodeEntitiesoption - Support for async usage with streams
FeedHandler- Some functions from
domutils - Automatic fix-up of mixed-case tag and attribute names.
Set the
lowerCaseTagsandlowerCaseAttributeNamesoptions of the parser tofalseto retain the casing.
Compare:
https://bundlephobia.com/result?p=htmlparser2
