rehype-stringify@10.0.1 · LilScript port · @itslil/rehype-stringify
hast,
stringified
Official rehype-stringify@10.0.1 algorithm rewritten in LilScript. API and parity tests 10/10. Not affiliated with upstream. Official rows are the published plugin plus hast-util-to-html, then Terser and esbuild.
npm install @itslil/rehype-stringify
Raw, gzip and Brotli each use a separate LilScript compilation targeting that objective. The original uses the same export and dependency boundary, then a JavaScript minifier.
The compiled runtime, in the browser
Live
lab.
Left is the editor. Right is @itslil/rehype-stringify HTML, or the official rehype-stringify@10.0.1 graph when that lane is on.
Current library · original minified
Three objectives.
Measured separately.
Same machine · sequential builds
Build time.
Zero runtime dependencies
Install the
current port.
npm install @itslil/rehype-stringify
Download the checked repository package · Package files, hashes and validation. npm publication is independent.