is-institutional-email

1.0.0 • Public • Published

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('something@stanford.edu') // true
isInstitutionalEmail('something@something.stanford.edu') // false
isInstitutionalEmail('something@something.stanford.edu', true) // true (accept subdomain)

Readme

Keywords

none

Package Sidebar

Install

npm i is-institutional-email

Weekly Downloads

1

Version

1.0.0

License

ISC

Last publish

Collaborators

  • jonny