pg-cr-layer

JSON →
library 2.0.26 ·javascript maintenance
verified Jun 5, 2026

pg-cr-layer (v2.0.26) is a lightweight PostgreSQL interface layer that wraps the popular pg library with ES2015 promises and provides a simplified API for common database operations like queries, transactions, and stored procedures. It is designed to be compatible with mssql-cr-layer for easy switching between PostgreSQL and MSSQL. The package offers a pool configuration and parameterized queries with positional ($1, $2) and named (@param) placeholders, though it has not been updated since 2019 and lacks TypeScript definitions.