Skip to content

Identifies email addresses or domains names that belong to colleges or universities.

License

Notifications You must be signed in to change notification settings

jasuno/AcademicEmailVerifier

 
 

Repository files navigation

Academic Email Verifier

Identifies email addresses or domains names that belong to colleges or universities. Retrieves institution name (and sometime role [faculty, student]).

licence npm version

Installation

npm install --save academic-email-verifier

Usage

Import library:

const verifier = require('academic-email-verifier');

Verify academic email address:

// check if email address is a valid academic email address
verifier.isAcademic('[email protected]')
        .then(result => console.log(result))
        .catch(error => console.log(error));

Get full institution name:

// get full institution name
verifier.getInstitutionName('[email protected]')
        .then(result => console.log(result))
        .catch(error => console.log(error));

Documentation

Support

If you're having any problem, please raise an issue on GitHub and we'll be happy to help.

Contribute

Before submitting a pull request, please make sure that you include tests, and that jshint runs without any warnings: Download VSCode extension.

Test

Run the test suite by executing:

$ npm test

Attribution

The database of this project is based on the ruby gem swot database. this database constitutes a significant part of this project.


Author: Benny Megidish.

About

Identifies email addresses or domains names that belong to colleges or universities.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%