Postgres Data Objects (PDO)

JSON →
library 0.1.3 ·javascript
verified Jun 5, 2026

Postgres Data Objects (PDO) is a lightweight TypeScript-first ORM for PostgreSQL that provides a clean, class-based interface for database operations. Current stable version is 0.1.3. It focuses on type safety and developer experience by leveraging TypeScript generics for compile-time query validation. Key differentiators include automatic schema inference from database tables, built-in migration support, and zero-configuration setup for common use cases. Unlike heavier ORMs like TypeORM or Prisma, PDO aims to be minimal with no external runtime dependencies beyond the 'pg' driver. Release cadence is irregular as it is still in early development.