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('[email protected]')
.then(function (result) {
console.log(result);
})
.catch(function (err) {
console.log(err);
})
var cg = new CuriousGeorge();
cg.lookup('[email protected]')
.then(function (result) {
console.log(result);
})
.catch(function (err) {
console.log(err);
})