mailaddresschecker
v0.9.5
Published
A small library to check mail address validity
Downloads
3
Maintainers
Readme
MailAddressChecker
A small library to check the validity of an email address string. The check returns an array of detailed errors if something did not add up in the provided email address. It can optionally convert diacritics in the result(ing e-mailaddress) to plain ascii (e.g. ë = e, Ù = U).
The bundled version can either be used as nodejs module (import emailValidator from './lib/bundle.js'
, provided that package.json
contains "type": "module") or as browser script module.
Examples on Stackblitz.com
Docker
- A small docker image (nodejs server using this library).
Also see wikipedia for (rfc links to) email address requirements. The requirements in this checker are an interpretation: feel free to fork the MailAddressChecker repository to change them to your specific needs.