Skip to main content
Module

x/html_rewriter/index.ts>DocumentHandlers

WASM-based implementation of Cloudflare's HTML Rewriter for use in Deno, browsers, etc.
Go to Latest
interface DocumentHandlers
Re-export
import { type DocumentHandlers } from "https://deno.land/x/html_rewriter@v0.1.0-pre.17/index.ts";

Methods

optional
doctype(doctype: Doctype): void | Promise<void>
optional
comments(comment: Comment): void | Promise<void>
optional
text(text: TextChunk): void | Promise<void>
optional
end(end: DocumentEnd): void | Promise<void>