1.0.8 • Published 4 years ago

edumail v1.0.8

Weekly downloads
2
License
MIT
Repository
github
Last release
4 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

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago