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

x/cheerio/mod.ts>cheerio.SelectorType

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

Type for identifying selectors. Allows us to "upgrade" queries using selectors to return Elements.

definition: `${SelectorSpecial}${AlphaNumeric}${string}` | `${AlphaNumeric}${string}`