@bext-stack/runtime
v0.2.0
Published
bext runtime — native Rust NAPI addon for high-performance SSR, WAF, caching, and streaming in Bun and Node.
Maintainers
Readme
@bext-stack/runtime
Native Rust NAPI addon that powers the bext runtime — SSR, WAF, caching, streaming, TLS, and plugin host functions exposed to Bun and Node.
Install
npm i @bext-stack/runtimeThe right platform-specific binary (@bext-stack/<platform>) is resolved automatically via optionalDependencies. No postinstall scripts.
Usage
import bext from "@bext-stack/runtime";
// 165+ exports: NativeRouter, NativeSsrStream, BrotliTransform, …
const router = new bext.NativeRouter();Supported platforms
| Platform | Package |
|---|---|
| Linux x64 (glibc) | @bext-stack/linux-x64-gnu ✅ |
| Linux arm64 (glibc) | @bext-stack/linux-arm64-gnu (planned) |
| macOS x64 | @bext-stack/darwin-x64 (planned) |
| macOS arm64 | @bext-stack/darwin-arm64 (planned) |
If your platform isn't supported yet, install the CLI directly:
curl -fsSL https://bext.dev/install | shLicense
Dual-licensed BUSL-1.1 OR MIT at your option. Part of the bext stack.
