import { type cheerio } from "https://deno.land/x/cheerio@1.0.7/mod.ts";
const { CheerioAPI } = cheerio;
A querying function, bound to a document created from the provided markup.
Also provides several helper methods for dealing with the document as a whole.
Call Signatures
<T extends AnyNode, S extends string>(): Cheerio<S extends SelectorType ? Element : T>
selector?: S | BasicAcceptedElems<T>,
context?: BasicAcceptedElems<AnyNode> | null,
root?: BasicAcceptedElems<Document>,
options?: CheerioOptions,
This selector method is the starting point for traversing and manipulating the document. Like jQuery, it's the primary method for selecting elements in the document.
selector
searches within the context
scope which searches within the
root
scope.