
PGlite
Embeddable WebAssembly build of PostgreSQL, packaged as a TypeScript and JavaScript library for the browser, Node.js, Bun and Deno.
pglite.devrepositorydocsplugins
PGlite is a WebAssembly build of PostgreSQL, packaged as a TypeScript and JavaScript library. An application imports it from npm, or from a CDN in the browser, and runs a Postgres database inside the browser, Node.js, Bun or Deno. The data can live in memory, in the file system under Node and Bun, or in IndexedDB in the browser. The about page also offers it as an alternative to a full local Postgres for development.
Worth knowing
Electric DB Inc., which develops PGlite, also runs a hosted cloud for its sync services. That cloud is a separate product from PGlite.
Sources
- 2026-10-30: links, License, Categories, Databases
pglite.dev/ - 2026-10-30: links, Written in, GitHub stars
api.github.com/repos/electric-sql/pglite - 2026-10-30: links, Runs as, License model
pglite.dev/docs/about - 2026-10-30: Maintainer, Maintained by
www.electric.ax/legal - 2026-10-30: Runtime, Install with
pglite.dev/docs/ - 2026-10-30: Current major version, Last release, First release
registry.npmjs.org/@electric-sql/pglite - 2026-10-30: npm downloads a week
api.npmjs.org/downloads/range/2026-10-19:2026-10-25/@electric-sql/pglite - 2026-10-30: License
registry.npmjs.org/@electric-sql/pglite/latest - 2026-10-30: Contributors
api.github.com/repos/electric-sql/pglite/contributors?per_page=1