@myselfraj/is-business-mail
TypeScript icon, indicating that this package has built-in type declarations

1.0.16 • Public • Published

Is Business E-mail?

Checks if an email is a business email from a list of 15,000 emails.

Our package is quite simple: it has a list of more than 15,000 email providers list that are used by the public. When you give us an email, we just look if it's in our list. If it is in the list, that means it's a regular public email(eg. gmail.com, yahoo.com, outlook.com, and etc 15k+) not a business one. For example, if you give us "xyz@gmail.com", it's not a business email. It's just normal check. It's not email Auth or SMTP verification tool.

What is Public Email?

Public email are mail account that are not connected or acociated with company for example any email account that is end with gmail. com or yahoo Or with public email providers (gmail.com, outlook, orkut, and etc...15k+).

Example Of Public Email

  1. xyz@gmail.com
  2. xyz@yahoo.com
  3. abc@outlook.com

What is Business Email?

Email account accociated with business domains eg. grapdevs.com ,somecompany.com,xyzcompany.in and etc...

Example Of business Email

  1. name@grapdevs.com
  2. abc@somecompany.com
  3. sales@xyzcompany.in

Setup

npm i @myselfraj/is-business-mail

Usage

import {isBusinessMail } from '@myselfraj/is-business-mail'
console.log(isBusinessMail('test@myselfraj.com')) //returns => true  (it is business mail)
console.log(isBusinessMail('test@somebusines.com')) //returns => true  (it is business mail)

console.log(isBusinessMail('test@gmail.com')) //returns => false  (not business mail)
console.log(isBusinessMail('test@orkut.com')) //returns => false  (not business mail)
console.log(isBusinessMail('abc@orkut.com')) //returns => false  (not business mail)

Method

isBusinessMail() => Accept email of string type and return boolean

Authors

Connect with me

LinkedIn

Package Sidebar

Install

npm i @myselfraj/is-business-mail

Weekly Downloads

3

Version

1.0.16

License

ISC

Unpacked Size

260 kB

Total Files

6

Last publish

Collaborators

  • chapeee
  • grapdevs