Skip to content

@xtandard/webhooks/storage/libsql

libSQL / Turso storage: createLibsqlStorage() over @libsql/client, for remote, replicated or embedded SQLite-dialect databases.

import { … } from "@xtandard/webhooks/storage/libsql";
Name Summary
createLibsqlStorage Create a libSQL/Turso-backed LibsqlWebhooksStorage. The table is created on first use.
Name Summary
LibsqlStorageOptions Options for createLibsqlStorage. table defaults to "xtandard_webhooks".
LibsqlWebhooksStorage A compare-and-swap capable WebhooksStorage backed by libSQL/Turso, plus close().