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

x/cheerio/mod.ts>cheerio.html

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

Renders the document.

Parameters

  • Options for the renderer.
optional
options: CheerioOptions

Returns

string

The rendered document.

Renders the document.

Parameters

  • Element to render.
  • Options for the renderer.
optional
options: CheerioOptions

Returns

string

The rendered document.