pg-camelcase

JSON →
library 0.0.3 ·javascript abandoned
verified Jun 5, 2026

pg-camelcase is a lightweight utility (v0.0.3, no active release schedule) that monkey-patches the pg (node-postgres) library to automatically convert PostgreSQL result field names from snake_case to camelCase. It provides a simple `inject(pg)` function that returns an undo function, and a standalone `camelCase(str)` helper. Differentiators: minimal API, no dependencies, and reversible injection. However, the package is in an early, possibly abandoned state with no recent updates or TypeScript support.