Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.07 KB

README.md

File metadata and controls

48 lines (28 loc) · 1.07 KB

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

Output

{
  "valid": true,
  "simplify": "[email protected]"
}

Prevent multiple using

This can be useful if you are registering with email addresses or if you keep a record. Some services supported '[email protected]' but actually equal to [email protected]

Gmail, king of the common addresses.

[email protected] => [email protected]

If we try this;

Output

{
  "valid": true,
  "simplify": "[email protected]"
}

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.