Skip to main content
method Cheerio.prototype._parse
Re-export
import { Cheerio } from "https://deno.land/x/deno_temme@v1.0.0/deps.ts";

Parses some content.

Parameters

content:
| string
| Document
| AnyNode
| AnyNode[]
| Buffer
  • Content to parse.
options: InternalOptions
  • Options for parsing.
isDocument: boolean
  • Allows parser to be switched to fragment mode.
context: ParentNode | null

Returns

Document

A document containing the content.