pg-promise
pg-promise copied to clipboard
Nice lib but....
Nice library but PLEASE add connection examples to README. I literally spend about 10 minutes to google how to init connection to database.
It is up front in the documentation - http://vitaly-t.github.io/pg-promise
Typescript example
import pgPromise from "pg-promise"
const db = pgPromise()(YOUR_CONNECTION_STRING)
// Now you can use the db object like in the docs
http://vitaly-t.github.io/pg-promise/index.html