leader-domain

A domain analysis leader plugin

leader-domain

A leader plugin for analyzing email domains.

var Leader = require('leader');
var domain = require('leader-domain');
 
var leader = Leader()
  .use(domain())
  .populate({ email: 'joe@mailinator.com', function(errperson) {
    // .. 
});

And adds the domain object to the person:

{
    email: 'joe@mailinator.com',
    // .. 
    domain: {
        name: 'mailinator.com',
        personal: false,
        disposable: true,
        interesting: false
    }
}

Return a domain analysis plugin.