academic-email
v1.0.1
Published
<div align='center'>
Downloads
3
Readme
Academic Email Verifier
Identifies email addresses or domains names that belong to colleges or universities. Retrieves institution name or institution country.
$ npm i academic-email
Usage
// es5
const academicEmail = require('academic-email');
// es6
import { isAcademic, getInstitutionName, getInstitutionCountry } from 'academic-email';
isAcademic('[email protected]');
// => true
isAcademic('[email protected]');
// => false
getInstitutionName('[email protected]');
// => 'Daffodil International University'
getInstitutionName('[email protected]');
// => 'Invalid email!'
getInstitutionCountry('[email protected]');
// => 'Bangladesh'
getInstitutionCountry('[email protected]');
// => 'Invalid email!'