Function parse

  • Parses an HTML string into an array of nodes and text.

    Using the himalaya package to parse the HTML string into an array of nodes and text.

    Parameters

    • html: string

      The HTML string to parse.

    Returns Child[]

    An array of nodes and text extracted from the HTML string.