Skip to content

jasuno/AcademicEmailVerifier

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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('benny@stanford.edu')
        .then(result => console.log(result))
        .catch(error => console.log(error));

Get full institution name:

// get full institution name
verifier.getInstitutionName('benny@stanford.edu')
        .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

 
 
 

Contributors

Languages

  • JavaScript 100.0%