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

x/aleph/server/deps.ts>HTMLRewriter

The Full-stack Framework in Deno.
Go to Latest
class HTMLRewriter
import { HTMLRewriter } from "https://deno.land/x/aleph@1.0.0-beta.23/server/deps.ts";

Constructors

new
HTMLRewriter(encoding: string, output_sink: Function)

Methods

end(): void
free(): void
on(selector: string, handlers: ElementHandlers): this
onDocument(handlers: DocumentHandlers): this
write(chunk: Uint8Array): void