node-mandrill
node-mandrill copied to clipboard
Consider implementing Promise interface
Hello!
Thank you for this module!
However, please consider implementing a Promise interface.
Right now I have to use it like this:
var Promise = require('bluebird');
var request = Promise.promisify(mandrill(mandrillKey));
request(endpoint, options)
.then(function (response) {
// Do something.
})
;