Socket
Book a DemoInstallSign in
Socket

is-institutional-email

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-institutional-email

Check whether an email is institutional.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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)

FAQs

Package last updated on 15 Nov 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts