render dom nodes
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.