1.2.0 • Published 5 years ago

ismail v1.2.0

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

isMail Valid?

This package basically checks whether an email address is valid. The main aim is to check whether they are suitable for gmail, outlook and yandex e-mail address standards.

Installation

npm i -S ismail

Import

const ismail = require("ismail")

or

import * as ismail from "ismail"

Request

ismail("thismail@isvalid.com")

Output

{
  "valid": true,
  "simplify": "thismail@isvalid.com"
}

Prevent multiple using

This can be useful if you are registering with email addresses or if you keep a record. Some services supported 'mailname+tag@service.dom' but actually equal to mailname@service.dom

Gmail, king of the common addresses.

w.i.l.l.i.a.m+hello+my+dear@googlemail.com => william@gmail.com

If we try this;

ismail("w.i.l.l.i.a.m+hello+my+dear@googlemail.com")

Output

{
  "valid": true,
  "simplify": "william@gmail.com"
}

These are current rules. Different rules may be applied in the past and a currently available address may not comply with these rules. I'm not sure.

1.2.0

5 years ago

1.2.11-alpha

5 years ago

1.2.10-alpha

5 years ago

1.2.9-alpha

5 years ago

1.2.8-alpha

5 years ago

1.2.7-alpha

5 years ago

1.2.6-alpha

5 years ago

1.2.5-alpha

5 years ago

1.2.4-alpha

5 years ago

1.2.3-alpha

5 years ago

1.2.2-alpha

5 years ago

1.2.1-alpha

5 years ago

1.2.0-alpha

5 years ago

1.1.6

5 years ago

1.1.5

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago