I am using node-postgres, and at the beginning of my application I want to check whether the database exists or not. So my workflow idea is as following:
Install
npm install --save -g pgtools
CLI Example
createdbjs my_awesome_db --user=admin --password=admin