hast-util-to-html@9.0.5 · LilScript port · @itslil/hast-util-to-html
hast,
to HTML
Official hast-util-to-html@9.0.5 algorithms rewritten in LilScript. Official test suite 381/381. Not affiliated with upstream. Property key type stays, so task boxes keep type=checkbox. Official rows are the published package plus its runtime graph, then Terser and esbuild.
npm install @itslil/hast-util-to-html
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/hast-util-to-html HTML, or the official hast-util-to-html@9.0.5 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/hast-util-to-html
Download the checked repository package · Package files, hashes and validation. npm publication is independent.