@vui-rs/core
v0.7.0
Published
Native terminal rendering engine for vui-rs — a Rust cell buffer (truecolor, unicode, borders, taffy layout, images) driven from Bun via FFI.
Maintainers
Readme
@vui-rs/core
Native terminal rendering engine for vui-rs — a Rust cell buffer (truecolor, unicode/grapheme width, borders, taffy flexbox layout, inline images) driven from Bun via FFI.
Runtime: Bun only. This package loads a native library through
bun:ffi; it does not run under Node.js.
Install
bun add @vui-rs/corePrebuilt native binaries for darwin-arm64, darwin-x64, linux-x64, linux-arm64, and win32-x64 ship inside the package; the loader picks the right one at runtime.
Usage
import { Renderer } from "@vui-rs/core";
const r = new Renderer(80, 24);
// …draw into the cell buffer, then flush.
r.free();Most apps use @vui-rs/vue (a Vue custom renderer) on top of this engine rather than calling it directly.
License
MIT
