A client for Customer.io
npm install --save customerio
var customerio = 'CUSTOMERIO_KEY' 'CUSTOMERIO_SECRET'customeriocustomeriocustomerio
This library's methods return Promises, so it can be nicely composed with your backend calls.
For example if using bookshelf
I tried the official client however, it throws on any error. This gets worse, as it will throw even if you don't pass it an options object or a callback