leader-domain
v1.0.0
Published
A domain analysis leader plugin
Downloads
4
Maintainers
Readme
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: '[email protected]', function(err, person) {
// ..
});
And adds the domain
object to the person
:
{
email: '[email protected]',
// ..
domain: {
name: 'mailinator.com',
personal: false,
disposable: true,
interesting: false
}
}
API
domain()
Return a domain analysis plugin.