Skip to content

@xtandard/flags/storage/sqlite

SQLite storage on bun:sqlite: createSqliteStorage, a file-backed (or in-memory) database for single-node persistence. Bun only; no npm dependencies.

Subpath entry for @xtandard/flags/storage/sqlite.

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