Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

root

deprecated

Users seeking to access the top-level element of a parsed document should instead use the root static method of a "loaded" Cheerio function.

@example
const $ = cheerio.load('');
$.root();
const root: staticMethods.root;