@velastack/postgres
Planned
PostgreSQL bindings for SvelteKit, built on the same @velastack/kit plumbing as the PocketBase bindings. Not yet published — @velastack/postgres is not on npm.
handlePostgres
Configuration is planned to mirror handlePocketbase, in hooks.server.ts:
import { handlePostgres } from '@velastack/postgres';
import { POSTGRES_CONNECTION_STRING } from '$env/static/private';
export const handle = handlePostgres({
connectionString: POSTGRES_CONNECTION_STRING
}) See Backend → PostgreSQL for the wider plan.