validate-california-attorney-email
v1.0.0
Published
validate an e-mail against members.calbar.ca.gov
Downloads
3
Readme
var assert = require('assert')
var validate = require('./')
validate(
291465, '[email protected]',
function (error, match, active) {
assert.ifError(error, 'no error')
assert.strictEqual(match, true, 'match')
assert.strictEqual(active, true, 'active')
}
)
validate(
291465, '[email protected]',
function (error, match, active) {
assert.ifError(error, 'no error')
assert.strictEqual(match, false, 'match')
assert.strictEqual(active, true, 'active')
}
)