rsms/markdown-wasm
Very fast Markdown parser and HTML generator implemented in WebAssembly, based on md4c observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2459
- days_rel: n/a
- days_push: 1380
- n_releases_24m: 0
Adoption not part of the score
1667 stars · 69 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
markdown-wasm is a very fast Markdown parser and HTML renderer compiled from C (based on md4c) to WebAssembly, compliant with the CommonMark specification. It ships as a zero-dependency ~31 kB gzipped npm package with a simple synchronous parse() API usable in Node.js, browsers, and ES module setups.
Use cases
- parse markdown source and convert it to HTML in the browser
- convert markdown files to HTML in Node.js
- render user-submitted markdown with embedded HTML disabled for safety
- need a CommonMark-compliant markdown parser that runs anywhere via WebAssembly
- high-throughput markdown-to-HTML conversion where performance matters
- get HTML output as a string or as UTF-8 bytes from markdown input
When to choose
- You need very fast markdown-to-HTML rendering with a tiny footprint (31 kB gzipped, zero dependencies)
- You want a CommonMark-compliant parser that works identically in Node.js and the browser through WebAssembly
- You prefer WASM's isolated memory and portability, plus a simple synchronous parse() API with optional byte-array output
When to avoid
- You need markdown extensions beyond CommonMark (e.g., footnotes, math, or syntax-specific flavors) that md4c flags do not cover
- You need an AST or token stream for custom transformations rather than direct HTML output
- You must avoid WebAssembly or need a pure-JavaScript implementation for your environment
Facets
library · maturity stable
parser parsers web-development developer-tools wasm browser cross-platform markdown commonmark md4c html-rendering zero-dependency npm-package high-performance nodejs
2 sources
- readme: https://github.com/rsms/markdown-wasm · fetched 2026-08-28 · 957ba8a3816c
- homepage: https://rsms.me/markdown-wasm/ · fetched 2026-08-29 · 9e6978a11876
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rsms/markdown-wasm | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="rsms/markdown-wasm")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem