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

Properties

Methods

Properties

$: CheerioAPI
$node: Cheerio<Element>

Methods

  • Parameters

    • $node: Cheerio<AnyNode>
    • Optional preserveTag: boolean

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

    • Optional comments?: string[]
    • Optional html?: string

Generated using TypeDoc