A list of common eMail providers. Thanks to @goware!
The npm package (not this Git repo) contains the following data:
- roughly 8k domains of email providers in
all.json
, and - roughly 360 with a Majestic Million rank of
< 100000
incommon.json
.
npm install email-providers
The package published to npm contains two files all.json
and common.json
. The index.js
entrypoint also exports all.json
.
// use ES Modules with import assertions if your environment already supports them
// https://github.com/tc39/proposal-import-assertions
import all from 'email-providers/all.json' assert {type: 'json'}
import common from 'email-providers/common.json' assert {type: 'json'}
import alsoAll from 'email-providers'
// alernatively, use module.createRequire
import {createRequire} from 'module'
const require = createRequire(import.meta.url)
// in a CommonJS environment, you can use require right away, of course
const all = require('email-providers/all.json')
const common = require('email-providers/common.json')
all.length // 4149
common.length // 312
all[0] // 1033edge.com
common[0] // yahoo.com
If you have a question, found a bug or want to propose a feature, have a look at the issues page.