@hia-doc/html-parser
v0.1.0
Published
HTML parser wrapper boundary for HTMDoc.
Maintainers
Readme
@hia-doc/html-parser
Wraps the selected HTML parser and exposes an extraction-friendly boundary without leaking parser-private ASTs to adapters.
npm install @hia-doc/html-parserimport { parseHtml } from "@hia-doc/html-parser";
const result = parseHtml("<main>Documentation</main>");The wrapper keeps parse5 private node shapes inside the parser boundary. Other HTMDoc packages consume the stable helpers exported here rather than depending on parse5 internals.
