electric-sql/pglite
Embeddable Postgres with real-time, reactive bindings.
What it is
PGlite - the WASM build of Postgres from Electric . Build reactive, realtime, local-first apps directly on Postgres. PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js, Bun and Deno, with no need to install any other dependencies. It is only 3mb gzipped and has support for many Postgres extensions, including pgvector and PostGIS.
When to use it
Reach for pglite when your app needs to store, query, cache or sync data — it's written in TypeScript and fits stacks tagged database, postgres, wasm, realtime.