interface IHtmlParserContext {
    $: CheerioAPI;
    $node: Cheerio<any>;
    getContent(
        $node: Cheerio<any>,
        preserveTag?: boolean,
    ): { comments?: string[]; html?: string };
}

Properties

Methods

Properties

$: CheerioAPI
$node: Cheerio<any>

Methods

  • Parameters

    • $node: Cheerio<any>
    • OptionalpreserveTag: boolean

    Returns { comments?: string[]; html?: string }