MikroORM PGlite Driver

JSON →
library 0.5.1 ·javascript
verified Jun 4, 2026

A driver for using PGlite (an in-process PostgreSQL implementation) with MikroORM v6. Current stable version is 0.5.1, released with active maintenance. Peer dependencies require @electric-sql/pglite ^0.3.10 and @mikro-orm/postgresql ^6.5.6. It supports easy initialization with automatic lifecycle management and optional injection of an existing PGlite instance for advanced use cases like file system storage or custom configurations. Particularly useful for testing, prototyping, and development environments where a full PostgreSQL server is not desired.