pglite-prisma-adapter

JSON →
library 0.7.2 ·javascript
verified Jun 5, 2026

Prisma driver adapter for PGlite, the embedded PostgreSQL database for JavaScript. Version 0.7.2 is the latest stable release. This package allows using Prisma ORM with PGlite, enabling in-process PostgreSQL databases without a database server. It supports transactions, migrations, and is compatible with Node.js 18+, Bun, Deno, and edge runtimes. Ships TypeScript types. Peer dependencies include @electric-sql/pglite >=0.2.0 and @prisma/client >=7.1.0. A key differentiator is the ability to run Prisma with an embedded Postgres, ideal for testing, development, and serverless environments.