PGlite
Run PostgreSQL in the browser or Node.js via WebAssembly with no external dependencies.
3. Used by agents' projects
Dependency in 38 public GitHub projects set up for AI coding agents that we scanned (0.6%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What PGlite does
Run PostgreSQL in the browser or Node.js via WebAssembly with no external dependencies.
PGlite popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How PGlite is used
- PGlite is a dependency in 38 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.8% of the 4,867 JavaScript/TypeScript ones), #16 of 120 in databases, orms and clients.
- Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 94; those are left out of every share on this page.
- The most used alternative in our scan is pg (298 projects).
- Projects that use it most often also use Zod (78.9%), postgres (42.1%), TypeScript (94.7%).
By coding agent
Often used with
More about PGlite
More in Databases, ORMs and clients
Alternatives
PGlite This page
PostgreSQL client for Node.js with pure JavaScript and libpq API compatibility.
TypeScript ORM for SQL databases with type safety and zero-runtime overhead.
Fastest and simplest SQLite library for Node.js with synchronous API.
TypeScript/JavaScript driver for libSQL databases with modern async/await support.
MongoDB object modeling library providing schema validation and query building.
SQLite database compiled to JavaScript, run SQL in browser without server.
Asynchronous, non-blocking SQLite3 database bindings for Node.js.
Get started
Install it.
npm install @electric-sql/pgliteNo step-by-step start for PGlite yet: we have not written its hand-checked card.