1.0.0 • Published 8 years ago

university-domains v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

University Domains and Names List

A JSON list that contains domains, names and countries of most of the universities of the world.

It is very useful if you are building a web service for students.

You can easily create a validation script that checks the email domain. You can also automatically generate a user's country and university by looking their emails.

NOTE: Some university use a format like 'user@department.domain', but this list only contains the domain portion. For example, an email address might be student@cs.usc.edu, and this list will contain 'usc.edu', the domain for the University of Southern California. Take this into consideration if using this list for email address validation.

Feel free to update the list.

Example Bundle

{
    "web_page": "http://www.sabanciuniv.edu/",
    "country": "Turkey",
    "domain": "sabanciuniv.edu",
    "name": "Sabancı University"
}

Usage

Add to your project:

npm install node-university-domains --save

Query the list of university/college domains:

var uniDomains = require('node-university-domains');

uniDomains.find('middlebury.edu', 'domain');
//or
uniDomains.find('middlebury.edu');
//returns
/*{
    "web_page": "http://www.middlebury.edu",
    "country": "USA",
    "domain": "middlebury.edu",
    "name": "Middlebury College"
}*/