Skip to content

Checks whether an email is a company email (useful for B2B forms)

License

Notifications You must be signed in to change notification settings

rudeluv/company-email-validator

 
 

Repository files navigation

company-email-validator

Provides a fast company / work email validator by checking whether the email domain is in the free email provider list. Note: does not check SMTP servers and MX records currently (i.e. doesn't do deep validation).

version downloads

Made with ❤️ by Utterly (noise removal for online meetings)

Installation

Install via NPM:

npm install company-email-validator

Install via yarn:

yarn add company-email-validator

Usage

javascript

var CompanyEmailValidator = require("company-email-validator");

CompanyEmailValidator.isCompanyEmail("[email protected]"); // true

CompanyEmailValidator.isCompanyEmail("[email protected]"); // false

TypeScript

import * as CompanyEmailValidator from 'company-email-validator';

CompanyEmailValidator.isCompanyEmail("[email protected]"); // true

CompanyEmailValidator.isCompanyEmail("[email protected]"); // false

Contribute

Contributions welcome! Check the LICENSE file for more info.

Meta

Distributed under the unlicense public domain. See LICENSE for more information.

https://github.com/bnurbekov/company-email-validator

About

Checks whether an email is a company email (useful for B2B forms)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%