← All repos

dom-serializer

render dom nodes

cheeriojshtmlparser2
Browse cluster: HTML Parsing & Error Tracking
1,484commits
25contributors
2languages

Tech stack & purpose

dom-serializer is a library that converts domhandler DOM nodes to strings, functioning as the equivalent of the `outerHTML` property. It's built for use with the htmlparser2 and domhandler ecosystem and is part of the cheeriojs project. The serializer supports multiple configuration options for controlling how entities are encoded, how attributes are rendered, and whether to use XML or HTML serialization modes.

Languages

TypeScript
96.7%
JavaScript
3.3%

Contributors