@sideshowdb/core
v0.1.2
Published
TypeScript client bindings for the SideshowDB WASM runtime.
Readme
@sideshowdb/core
Browser-side TypeScript bindings for the SideshowDB WASM runtime.
Install
npm install @sideshowdb/coreUsage
import { loadSideshowDbClient } from '@sideshowdb/core'
const client = await loadSideshowDbClient({
wasmPath: '/wasm/sideshowdb.wasm',
})The package exposes put, get, list, history, and delete document
operations plus runtime metadata like banner and version.
In browser environments, loadSideshowDBClient now defaults to an
IndexedDB-backed ref host store for persistence across reloads. Set
indexedDb: false to force volatile in-WASM memory storage.
Design notes
Why options use hostCapabilities.store and store-centric naming (vs a flat
hostBridge): see the repo ADR
docs/design/adrs/2026-04-29-host-capabilities-store-api.md.
