import { cheerio } from "https://deno.land/x/deno_temme@v1.0.0/deps.ts";
const { text } = cheerio;
Render the document as text.
This returns the textContent
of the passed elements. The result will
include the contents of script
and stype
elements. To avoid this, use
.prop('innerText')
instead.
Parameters
optional
elements: ArrayLike<AnyNode>