Install
@electric-sql/pglite
PGlite is a WASM Postgres build packaged into a TypeScript client library that enables you to run Postgres in the browser, Node.js and Bun, with no need to install any other dependencies. It is only 3.7mb gzipped.
0.6.1Latest, 27 Nov 2026
182MDownloads, last month
0Advisories on the latest
0Advisories, all versions
Apache-2.0Licence
16KStars
Source · Homepage · Ask AI Mode · · Markdown
In the news
- Embedded Postgres in 2026: PGlite, embedded-postgres, and tinbase Compared dev.to, 19 Oct 2026
- PGlite + ts-node issues stackoverflow.com, 14 Jul 2024
On Hacker News
- PGlite – Embeddable Postgres 605 points, 115 comments, 4 Dec 2025
- Show HN: PGlite – in-browser WASM Postgres with pgvector and live sync 509 points, 108 comments, 12 Aug 2024
- PGlite – Postgres in WASM 116 points, 17 comments, 23 Feb 2024
- PGLite Evangelism 78 points, 27 comments, 9 Apr 2026
Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.