Skip to content

@xtandard/links/storage/sqlite

SQLite storage on bun:sqlite: createSqliteStorage(), for single-node deployments and local persistence, with compare-and-swap. Bun only.

import { … } from "@xtandard/links/storage/sqlite";
Name Summary
createSqliteStorage Create a SQLite-backed storage. Requires the Bun runtime (bun:sqlite).
Name Summary
SqliteLinksStorage A compare-and-swap capable LinksStorage backed by SQLite, plus close().
SqliteStorageOptions Options for createSqliteStorage. table defaults to "xtandard_links_kv".