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.
npm i -S ismail
const ismail = require("ismail")
or
import * as ismail from "ismail"
ismail("[email protected]")
{
"valid": true,
"simplify": "[email protected]"
}
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.