Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lol_html/types.d.ts>HTMLRewriter

Low output latency streaming HTML parser/rewriter with CSS selector-based API in Deno, via Webassembly.
Go to Latest
class HTMLRewriter
import { HTMLRewriter } from "https://deno.land/x/lol_html@0.0.5/types.d.ts";

Constructors

new
HTMLRewriter(encoding: string, output_sink: Function)

Methods

end(): void
free(): void
on(selector: string, handlers: any): void
onDocument(handlers: any): void
write(chunk: Uint8Array): void