Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cheerio/mod.ts>cheerio.Document

Cheerio port to Deno with typings
Latest
class cheerio.Document
extends NodeWithChildren
Re-export
import { cheerio } from "https://deno.land/x/cheerio@1.0.7/mod.ts";
const { Document } = cheerio;

The root node of the document.

Properties

readonly
nodeType: 9
type: ElementType.Root
optional
x-mode: "no-quirks" | "quirks" | "limited-quirks"

Document mode (parse5 only).