SlimNodePostgres

JSON →
library 4.0.1 ·javascript
verified Jun 5, 2026

Slim Node Postgres is a lightweight PostgreSQL database abstraction layer for Node.js that simplifies connection pooling and prepared statements. Version 4.0.1 provides a promise-based API with methods like query, execute, insert, getOne, getValue, and exists. It uses named parameters with @ syntax and returns typed results. Compared to raw pg or ORMs like Sequelize/TypeORM, it offers minimal overhead and easy setup for projects that need a simple, pool-managed client without full ORM features. Release cadence is sporadic; it has TypeScript definitions built in. Requires pg and its types as peer dependencies.