1.0.8 • Published 6 years ago

edumail v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

🎓 Edumail

Travis CI Coverage GitHub Vulnerabilities Minzipped size NPM version Types

Edumail helps you identify educational emails for academic discounts.

It relies upon JetBrains/swot to get educational email information.

⭐ Getting started

Install Edumail as a dependency:

npm install edumail

Then import and use the functions you need:

import { isEducational } from "edumail";

const isEducationalEmail = await isEducational("example@america.edu");
// returns false

You can also use promises:

isEducational("example@scu.edu").then(info => {
  console.log(info); // returns true
}).catch(error => {})

There are also functions to identify domains:

import { isBlacklisted, isEducationalDomain } from "edumail";

const blacklisted = await isBlacklisted("example@america.edu"); // true
const educational = await isEducationalDomain("example@america.edu"); // true

📝 License

MIT

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago

0.9.2

6 years ago

0.9.1

6 years ago

0.9.0

6 years ago