@xmdx/napi-win32-x64-msvc

High-performance streaming Markdown to HTML parser built with Rust for Astro (Node.js NAPI bindings)


Keywords
markdown, parser, rust, napi, streaming, performance, html
License
MIT
Install
npm install @xmdx/napi-win32-x64-msvc@0.0.8-next.0

Documentation

xmdx

A high-performance streaming Markdown/MDX engine built with Rust, designed for modern web frameworks.

Features

  • Rust-powered performance - Native speed with NAPI bindings for Node.js
  • Streaming architecture - Process large files efficiently
  • WASM support - Run in browsers and edge runtimes
  • Astro integration - First-class support for Starlight projects
  • MDX compatible - Full JSX component support

Packages

Package Description
xmdx Core JavaScript API with Node.js and browser support
astro-xmdx Astro integration with presets and plugins
@xmdx/napi Native Node.js bindings (NAPI-RS)
xmdx-wasm WebAssembly build for browsers

Quick Start

xmdx (Standalone)

npm install xmdx
import { compile } from 'xmdx';

const html = await compile('# Hello, world!');

astro-xmdx (Astro Integration)

npm install astro-xmdx
import { defineConfig } from 'astro/config';
import xmdx from 'astro-xmdx';

export default defineConfig({
  integrations: [xmdx()],
});

Examples

  • examples/starlight: Starlight docs site using astro-xmdx with auto-detected Starlight support.

Supported Platforms

Platform Architecture
macOS x64, ARM64
Windows x64
Linux (glibc) x64, ARM64
Linux (musl) x64, ARM64
Browser/Edge WebAssembly

Development

# Install dependencies
pnpm install

# Build all packages
pnpm build

# Run tests
pnpm test

License

MIT