Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/cheerio/mod.ts>cheerio.Parse5Options

Cheerio port to Deno with typings
Latest
interface cheerio.Parse5Options
import { type cheerio } from "https://deno.land/x/cheerio@1.0.7/mod.ts";
const { Parse5Options } = cheerio;

Options for parse5, the default parser for HTML.

Properties

optional
scriptingEnabled: boolean

Disable scripting in parse5, so noscript tags would be parsed.

optional
sourceCodeLocationInfo: boolean

Enable location support for parse5.