html-rewriter
html-rewriter copied to clipboard
WASM-based implementation of Cloudflare's HTML Rewriter for use in Deno, browsers, etc.
How, i can not specify encoding, for example: windows-1251
Seems to be an error in the type import statement here: **@worker-tools/html-rewriter/types/index.d.ts:** ``` import type { ContentTypeOptions, Element, EndTag, Comment, TextChunk, Doctype, DocumentEnd, ElementHandlers, DocumentHandlers } from "./vendor/html_rewriter.d.d.js"; ``` I...
When running some code that includes `html-rewriter` in a vscode debug session I receive the following error. ```text arg0: TypeError: WebAssembly.compile(): Argument 0 must be a buffer source {stack: 'TypeError:...
In order to allow pre-emptive initialisation of the wasm module to prevent an unwanted lag on the first request. Current workaround is calling `new HtmlRewriter()` and a `delay()` function, but...