'uses strict'; /** * * User: Martin Donnelly * Date: 2016-03-11 * Time: 10:22 * */ var pgp = require('pg-promise')(); var monitor = require('pg-monitor'); var options = {}; monitor.attach(options); var cn = { host:'localhost', port: 5432, database: 'oBrand', user:'obrand', password:'obrand' }; //exports pgp(cn); exports.dbConnection = pgp(cn);