npm.io
0.2.0 • Published yesterday

@sheetwrite/wasm

Licence
MIT
Version
0.2.0
Deps
0
Size
490 kB
Vulns
0
Weekly
0

@sheetwrite/wasm

Sheetwrite's Rust/WASM columnar store and calculation engine. Most consumers receive it transitively through @sheetwrite/core or a framework adapter.

import { load } from "@sheetwrite/wasm";

await load();

The package boundary selects a browser loader with no Node imports or a Node loader that reads the co-located binary. load(source?) accepts BufferSource | URL | string | Request | WebAssembly.Module, shares concurrent same-source initialization, rejects conflicting concurrent sources, retries after failure, and no-ops after success. isLoaded() is the authoritative readiness check.

@sheetwrite/wasm/wasm remains the explicit raw-asset escape hatch for unsupported or custom bundlers; ordinary consumers should use zero-argument initialization.

Build

bun run build

Keywords