Skip to content

Latest commit

 

History

History
36 lines (22 loc) · 573 Bytes

Readme.md

File metadata and controls

36 lines (22 loc) · 573 Bytes

valid-email

Valid an Email Address.

Build Status

Installation

Install with component(1):

$ component install yuehu/valid-email

API

The validation is async.

var valid = require('valid-email');
valid(email, function(res) {
    // res.valid ?
    // res.hint
});

.MAILGUN_KEY

Reset valid.MAILGUN_KEY to null to disable mailgun email address validation.

valid.MAILGUN_KEY = null;

License

MIT