Get database uris for your config settings
npm i -S config-dburi
const dburi = require('config-dburi')
console.log(dburi.mongo()) // mongodb://localhost/test
console.log(dburi.mongo('mydb')) // mongodb://localhost/mydb
console.log(dburi.redis()) // redis://localhost
console.log(dburi.postgres()) // postgres://postgres:mysecretpassword@localhost/postgres
console.log(dburi.postgres('mypassword')) // postgres://postgres:mypassword@localhost/postgres