@xtandard/flags/storage/libsql
libSQL / Turso storage: createLibsqlStorage, SQLite’s dialect on a remote,
replicated or embedded database, for multi-node and edge runtimes. Optional
peer dependency: @libsql/client.
Subpath entry for @xtandard/flags/storage/libsql: re-exports the adapter so
the bundler can map it to its own dist file.
import { … } from "@xtandard/flags/storage/libsql";Functions
Section titled “Functions”| Name | Summary |
|---|---|
createLibsqlStorage |
Create a libSQL/Turso-backed LibsqlFlagsStorage. The table is created on first use. |
Type aliases
Section titled “Type aliases”| Name | Summary |
|---|---|
LibsqlFlagsStorage |
A compare-and-swap capable FlagsStorage backed by libSQL/Turso, plus close(). |
LibsqlStorageOptions |
Options for createLibsqlStorage. table defaults to "xtandard_flags". |