/curious-george

George was a good little monkey but he was always very curious. Find out who hosts any email address in the client.

Primary LanguageJavaScript

CuriousGeorge 0.0.1

CuriousGeorge is ES6 class which helps to getting CloudSponge email provider.

Setup

Clone the repo and execute

npm install 

Compiling ES6 with source maps

babel src/index.js --out-file build/curious-george.js --source-maps

Usage

var cg = new CuriousGeorge();

cg.findProvider('test@arizonabay.com')
.then(function (result) {
   console.log(result);
})
.catch(function (err) {
    console.log(err);
})

Raw JSON

var cg = new CuriousGeorge();

cg.lookup('test@arizonabay.com')
.then(function (result) {
   console.log(result);
})
.catch(function (err) {
    console.log(err);
})