{"library":"svelte-electricsql","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.1.4","tags":["javascript","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install svelte-electricsql","imports":["import { useShape } from 'svelte-electricsql'","import { Shape } from 'svelte-electricsql'","import { ShapeStream } from 'svelte-electricsql'"]},{"cmd":"yarn add svelte-electricsql","imports":[]},{"cmd":"pnpm add svelte-electricsql","imports":[]}],"homepage":"https://github.com/milimyname/svelte-electricsql#readme","github":"https://github.com/milimyname/svelte-electricsql","docs":null,"changelog":null,"pypi":null,"npm":"svelte-electricsql","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}