lapiz-postgres

JSON →
library 1.0.3-beta ·javascript
verified Jun 5, 2026

A lightweight, class-based query system for PostgreSQL using the pg library. Current stable version is 1.0.3-beta. It provides a structured approach to organize SQL queries as reusable classes with named queries for prepared statements, built-in error handling via safeRawCall, and utility helpers for common transformations. Key differentiators include a focus on type safety through JSDoc, a simple API with DB class for pool management and query execution, and a strong opinion on project structure.