Hydra client wrapper for NodeJS
var hydra = require('hydra-client')
hydra.Connection.of('localhost', 8080, 'token')
.createMessage()
.toUser(1380723)
.byDeviceType('android')
.withContent('Hello world')
.withData('ui', 'activity')
.push((err, body) => {
console.log(err, body)
})