@potluckdb/potluckdb-node-wasm
v0.1.0
Published
potluckdb node WASM Runtime Interface platform binding
Readme
potluckdb for Node (WebAssembly)
@potluckdb/potluckdb-node-wasm is the runtime compiled to
WebAssembly and packaged for Node. It exposes the Runtime
Interface, the low-level surface every SDK is built on, not the
application API: a caller receives the module from
createRuntimeInterface() and drives it as a language binding
does. Applications on Node use
@potluckdb/potluckdb,
which loads the native runtime.
Installation
npm install @potluckdb/potluckdb-node-wasmNode 20 or newer, on any platform Node runs on; no native build.
Usage
const createRuntimeInterface = require("@potluckdb/potluckdb-node-wasm");
const runtime = await createRuntimeInterface();The package exists for two callers: a binding author, and a deployment that cannot load a native addon and accepts the Runtime Interface in exchange. The Node (WebAssembly) page is its documentation.
See LICENSE.
