micromark@4.0.2 · LilScript port · @itslil/micromark

Markdown,
compiled

Official micromark@4.0.2 algorithms rewritten in LilScript. Runtime checks: 1,963/1,963 pass, the official suite’s 1,927 among them. Not affiliated with upstream. Official rows are the published micromark@4 runtime graph, for Node and for browsers, then Terser and esbuild.

npm install @itslil/micromark
Current LilScript versus minified original · portable ESM —smaller

—Brotli-11 you ship, vs smallest original
—gzip-9 vs smallest original
—raw vs smallest original
—runtime checks

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.

commonmark ✦ fences ✦ autolinks ✦ allowDangerousHtml ✦ stream ✦ tree-shake

The compiled runtime, in the browser

Live
lab.

Left is the editor. Right is @itslil/micromark HTML, or the official micromark@4.0.2 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/micromark

Download the checked repository package · Package files, hashes and validation. npm publication is independent.