leader-domain

A domain analysis leader plugin

npm install leader-domain
2 downloads in the last week
2 downloads in the last month

leader-domain

A leader plugin for analyzing email domains.

Example

var Leader = require('leader');
var domain = require('leader-domain');

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

And adds the domain object to the person:

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

API

domain()

Return a domain analysis plugin.

npm loves you