ismail
v1.2.0
Published
validity checks of the most commonly used services
Downloads
59
Maintainers
Readme
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("[email protected]")
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.
If we try this;
ismail("[email protected]")
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.