pgeon

JSON →
library 0.0.6 ·javascript
verified Jun 5, 2026

A zero-dependency, type-safe Postgres client for Node.js (v0.0.6). It includes a from-scratch implementation of the Postgres protocol with connection pooling, query cancellation, and SQL injection prevention via prepared statements. Its standout feature is a webpack loader that type-checks static SQL queries at compile time using TypeScript template literal types, catching errors before runtime. Designed for strict one-to-one mapping between Postgres and JavaScript types. Released as an experimental alpha with monthly updates.