CuriousGeorge is ES6 class which helps to getting CloudSponge email provider.
Clone the repo and execute
npm install
babel src/index.js --out-file build/curious-george.js --source-maps
var cg = new CuriousGeorge();
cg.findProvider('test@arizonabay.com')
.then(function (result) {
console.log(result);
})
.catch(function (err) {
console.log(err);
})var cg = new CuriousGeorge();
cg.lookup('test@arizonabay.com')
.then(function (result) {
console.log(result);
})
.catch(function (err) {
console.log(err);
})