isBizMail tells you whether a given email address is free (gmail.com, yahoo.es, yandex.ru etc) or not
Business Email Checker
======================




!Code Climate maintainability

!js type

!npm
!npm
!npm bundle size (minified + gzip)



isBizMail tells you whether a given email address is free (gmail.com, yahoo.es, yandex.ru etc) or not. Detects around 4-5k domains and sub-domains.
Under the hood isBizMail mostly relies on 3-rd party domain lists created by people and organizations mentioned in Credits section.
bash
npm i @salaros/is-biz-mail # pnpm add @salaros/is-biz-mail
`
or via Yarn
`bash
yarn add @salaros/is-biz-mail
`
Vanilla
One of examples of vanilla JavaScript usage might be a simple HTML page:
`html
`
TS / ESM
`js
import IsBizMail from '@salaros/is-biz-mail';
const isBizMail = new IsBizMail();
const email = 'es6@gmail.com';
const result = isBizMail.isFree(email);
console.log([email, result]); // (2)Â ["es6@gmail.com", true]
// ...
`
CommonJS, Node.js etc
`js
const IsBizMail = require('@salaros/is-biz-mail');
const isBizMail = new IsBizMail();
const email = 'cjs@yahoo.com';
const result = isBizMail.isFree(email);
console.log([email, result]); // (2)Â ["cjs@yahoo.com", true]
// ...
`
Testing: Jest
`bash
npm install # pnpm/yarn install
npm test # pnpm/yarn test
``