1.0.13 • Published 1 month ago

free-email-domains-list v1.0.13

Weekly downloads
-
License
MIT
Repository
-
Last release
1 month ago

Fresh list of all free email domain providers. Can be used to check if an email address belongs to a company. Updated weekly

Sometimes you need to know if an email address belongs to a company or is registered with a free email provider. This easy script can tell you. Just call isCompanyEmail or isFreeEmail.

All available domains can be found in src folder. They are downloaded from the community maintaned list and updated weekly.

Usage

FunctionReturn valueExample usage
isFreeEmail(email: string, emailValidation: IsEmailOptions = {})booleanisFreeEmail('john.doe@gmail.com') => true
isCompanyEmail(email: string, emailValidation: IsEmailOptions = {})booleanisCompanyEmail('john.doe@gmail.com') => false

IsEmailOptions are available options for email validation from validator library. You can check test folder for usage.

If the the email provided is not valid, false is always returned.

Tests

There are jest tests which tests basic functionality. Feel free to extend them.

More packages from me

  • all-iso-language-codes - List of ISO 639-1, 639-2T, 639-2B and 639-3 codes with translations in all available languages
  • expo-video-player - Customizable Video Player controls for Expo
  • free-email-domains-list - Fresh list of all free email domain providers. Can be used to check if an email address belongs to a company. Updated weekly
1.0.13

1 month ago

1.0.11

6 months ago

1.0.10

6 months ago

1.0.12

6 months ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago