domutils
    Preparing search index...

    Function getOuterHTML

    • Parameters

      • node: AnyNode | ArrayLike<AnyNode>

        Node to get the outer HTML of.

      • Optionaloptions: DomSerializerOptions

        Options for serialization.

      Returns string

      node's outer HTML.

      Use the dom-serializer module directly.