Giter VIP home page Giter VIP logo

is-biz-mail-js's Introduction

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

yarn add is-biz-mail

or via NPM

npm i is-biz-mail

Vanilla

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

<script src="https://cdn.jsdelivr.net/npm/is-biz-mail/dist/is-biz-mail.js"></script>
<script>
    var result = isBizMail.isValid('[email protected]"');
    console.log([email, result]);   // (2)ย ["[email protected]", false]
</script>

ES5 / ES6 module

import isBizMail from 'is-biz-mail';

let result = isBizMail.isFreeMailAddress('[email protected]');
console.log([email, result]);   // (2)ย ["[email protected]", true]
// ...

CommonJS, Node.js etc

const isBizMail = require('is-biz-mail');

let result = isBizMail.isFreeMailAddress('[email protected]');
console.log([email, result]);   // (2)ย ["[email protected]", true]
// ...

Testing: Mocha + Should.js

yarn
yarn test

or via NPM

npm install
npm test    # or ./node_modules/.bin/mocha

Credits

is-biz-mail-js's People

Contributors

dependabot[bot] avatar salaros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

suresh44t

is-biz-mail-js's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.