PostgreSQL Meta-Module
For use with create-node-app and deploy-node-app
To add this metamodule to your project:
npm install @metamodules/postgres
const postgres = require('@metamodules/postgres')()
postgres.query('SELECT 1+1', (err, resp) => {
console.log('postgres output:', err, resp)
})
This is a simple wrapper around the node-postgres module which includes the latest stable Postgres image