Lobsters·2yelectric-sql/pglite: Lightweight Postgres packaged as WASM into a TypeScript library for the browser, Node.js, Bun and Deno
PGlite is a lightweight Postgres packaged as WASM into a TypeScript library. It allows you to run Postgres in the browser, Node.js, and Bun without any additional dependencies. It can be used as an ephemeral in-memory database or with persistence to the file system or indexedDB. Parameterized queries are not supported yet. It is being developed at ElectricSQL in collaboration with Neon.