High-performance Markdown / MDX compiler built with Rust.
Up to 25x faster than unified.
$npm install @unifast/node
Markdown to HTML compilation time (ms). Lower is better.
import { compile } from "@unifast/node";
const result = compile("# Hello\n\nThis is **unifast**.");
console.log(result.output);
// <h1 id="hello">Hello</h1>
// <p>This is <strong>unifast</strong>.</p>Core compiler written in Rust with zero-copy parsing and arena allocation.
20+ built-in plugins: GFM, math, emoji, syntax highlighting, frontmatter, and more.
Tree-sitter and syntect built in. Up to 8x faster than rehype-highlight.
First-class MDX compilation with JSX and expression support.
Explore the documentation or dive into the API reference.