Knex.js
databaseAdopt
Knex.js is a SQL query builder for PostgreSQL. It features both traditional node style callbacks as well as a promise interface for cleaner async flow control, a stream interface, full-featured query and schema builders, transaction support (with savepoints), connection pooling and standardized responses between different query clients and dialects. It is augmented by Objection.js.