postgres.js

JSON →
library 0.1.0 ·javascript
verified Jun 5, 2026

A pure-JavaScript implementation of the Postgres protocol designed for Node.js. At version 0.1.0, it is in early development—not yet stable. Postgres.js focuses on minimal overhead and a simple API, contrasting with heavier ORMs or legacy clients. It offers true prepared statements, automatic encoding/decoding of PostgreSQL types, and supports recent features like transaction savepoints and notification listeners. However, it does not yet have a stable release, and breaking changes are expected. Use for prototyping or performance-sensitive scenarios where minimal dependencies are critical.