co-pg
JSON →A wrapper for node-postgres (pg) that provides promise-based methods (e.g., connectPromise, queryPromise) compatible with the co generator-based control flow library and async/await. Current version 2.0.2, last updated in 2022. It allows using PostgreSQL connections and queries with yield or await instead of callbacks, without altering the original pg API. Supports pg, pg-native, and pg-pure backends. The library is in maintenance mode; newer projects should prefer native async/await with pg directly.