is-institutional-email
v1.0.0
Published
Check whether an email is institutional.
Readme
is-institutional-email
A module that checks whether an email address is institutional. This is a fork of the swot-js package, which would return false if not all domains were loaded yet. Because the package had not Github repo where I could make a pull request, I decided to publish it again. The API is also simplified:
let isInstitutionalEmail = require('is-institutional-email');
isInstitutionalEmail('[email protected]') // true
isInstitutionalEmail('[email protected]') // false
isInstitutionalEmail('[email protected]', true) // true (accept subdomain)