htmlparser2-20kb
v3.10.14
Published
Fast & forgiving HTML/XML parser bundled for the browser, < 20 KB, no dependencies
Downloads
246
Readme
htmlparser2-20kb
Fast & forgiving HTML/XML parser bundled for the browser, < 20 KB, no dependencies
Includes:
htmlparser2
3.xdomhandler
2.xdom-serializer
with a fix for #26- The most useful parts of
domutils
- A
create
utility function for simple DOM node creation - TypeScript type definitions
Excludes:
- The
decodeEntities
option - Support for async usage with streams
FeedHandler
- Some functions from
domutils
- Automatic fix-up of mixed-case tag and attribute names.
Set the
lowerCaseTags
andlowerCaseAttributeNames
options of the parser tofalse
to retain the casing.
Compare:
https://bundlephobia.com/result?p=htmlparser2