is-biz-mail

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

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
is-biz-mail
0.3.33 years ago6 years agoMinified + gzip package size for is-biz-mail in KB

Readme

Business Email Checker ====================== Build Status Coverage Status Inline docs Known Vulnerabilities Code Climate maintainability License js type npm npm npm npm bundle size (minified + gzip) Donate Patreon Donate Paypal Donate Liberapay 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.

Looking for PHP, .NET etc?

🟊🟊🟊 Support this project 🟊🟊🟊

You can support us in a small way, please consider starring and sharing this repo! It helps us getting known and grow the community. star us

Installation

You can install isBizMail for JavaScript via your prefered dependency manager, e.g. Yarn ```bash yarn add is-biz-mail ``` or via NPM ```bash npm i is-biz-mail ```

Vanilla

One of examples of vanilla JavaScript usage might be a simple HTML page: ```html ```

ES5 / ES6 module

```js import isBizMail from 'is-biz-mail'; let result = isBizMail.isFreeMailAddress('es6@gmail.com'); console.log(email, result); // (2) "es6@gmail.com", true // ... ```

CommonJS, Node.js etc

```js const isBizMail = require('is-biz-mail'); let result = isBizMail.isFreeMailAddress('cjs@yahoo.com'); console.log(email, result); // (2) "cjs@yahoo.com", true // ... ```

Testing: Mocha + Should.js

```bash yarn yarn test ``` or via NPM ```bash npm install npm test # or ./nodemodules/.bin/mocha ```

Credits