svelte-electricsql

JSON →
library 0.1.4 ·javascript
verified Jun 5, 2026

Svelte integration for ElectricSQL, a Postgres sync engine that provides an HTTP interface to Postgres, enabling massive numbers of clients to query and receive real-time updates to data in 'shapes' (subsets of the database). Current stable version is 0.1.4. This package provides a `useShape` hook that pulls shape data into Svelte components. It caches Shape and ShapeStream instances globally, making reuse across components efficient. Requires Svelte 5 and TypeScript types are included. Released in 2025 with no regular release cadence yet.