8 releases

Uses new Rust 2024

0.0.10 May 21, 2026
0.0.9 May 21, 2026
0.0.7 Apr 15, 2026
0.0.5 Mar 12, 2026

#14 in #mdx

MIT license

5.5MB
727 lines

Contains (ELF exe/lib, 37MB) packages/node/native/unifast.node

unifast-bindings-node

Crates.io

napi-rs Node.js binding for unifast-core.

This crate compiles to a native Node.js addon (.node file) that exposes unifast's Rust compiler to JavaScript via N-API.

Note: Most users should install the npm package @unifast/node instead of using this crate directly.

How It Works

This crate wraps unifast-core's compilation API using napi-rs, producing a cdylib that Node.js can load as a native addon. The npm package @unifast/node bundles prebuilt binaries for multiple platforms (Linux x64/arm64, macOS x64/arm64, Windows x64).

License

MIT

Dependencies

~67MB
~2M SLoC