{"library":"co-postgres","type":"library","category":null,"description":"co-postgres is a thin wrapper around the `pg` PostgreSQL client that enables use with generators via the `co` library. Version 2.0.12 (last released in 2016) is stable but effectively unmaintained. It provides a simple API for querying Postgres using yield, making it suitable for legacy koa/co-based applications. Unlike modern async/await drivers, this package requires the co runtime and does not support promises natively. It has no dependencies beyond co and pg.","language":"javascript","status":"deprecated","version":"2.0.12","tags":["javascript","postgres","dx","promises","generators"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install co-postgres","imports":["import postgres from 'co-postgres'","const { query } = require('co-postgres')","const postgres = require('co-postgres')"]},{"cmd":"yarn add co-postgres","imports":[]},{"cmd":"pnpm add co-postgres","imports":[]}],"homepage":"https://github.com/MatthewMueller/postgres#readme","github":"git://github.com/MatthewMueller/postgres","docs":null,"changelog":null,"pypi":null,"npm":"co-postgres","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}