
Security News
Rolldown Pulls Rust React Compiler Integration After Binary Size Increase
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.
@mdscript/mds-napi
Advanced tools
Native Node.js bindings for the MDS (Markdown Script) compiler, built with napi-rs.
This is the high-performance backend used by @mdscript/mds
on Node.js. Most users should depend on @mdscript/mds, not this package
directly — @mdscript/mds loads this native addon automatically and falls back
to @mdscript/mds-wasm when a
prebuilt binary is unavailable.
This host package contains only the loader (index.js) and TypeScript types
(index.d.ts). The compiled .node binaries ship in per-platform packages
declared as optionalDependencies, filtered by os/cpu/libc:
| Platform package | Target |
|---|---|
@mdscript/mds-napi-darwin-arm64 | macOS Apple Silicon |
@mdscript/mds-napi-darwin-x64 | macOS Intel |
@mdscript/mds-napi-linux-x64-gnu | Linux x64 (glibc) |
@mdscript/mds-napi-linux-x64-musl | Linux x64 (musl) |
@mdscript/mds-napi-linux-arm64-gnu | Linux arm64 (glibc) |
@mdscript/mds-napi-linux-arm64-musl | Linux arm64 (musl) |
@mdscript/mds-napi-win32-x64-msvc | Windows x64 |
index.js selects the matching binary at runtime from process.platform,
process.arch, and (on Linux) the detected libc.
const { compile, check, compileFile, checkFile } = require('@mdscript/mds-napi');
See index.d.ts for the full typed surface.
MIT — see LICENSE.
FAQs
MDS compiler native Node.js bindings (napi-rs)
We found that @mdscript/mds-napi demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Rolldown paused Rust React Compiler integration after a 5MB binary size increase raised concerns about shipping React-specific code to all Vite users.

Security News
/Research
Mini Shai-Hulud expands into the Go ecosystem after hitting LeoPlatform npm packages and targeting GitHub Actions workflows.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.