mailaddresschecker

0.9.5 • Public • Published

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

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.

Package Sidebar

Install

npm i mailaddresschecker

Weekly Downloads

1

Version

0.9.5

License

ISC

Unpacked Size

49.8 kB

Total Files

14

Last publish

Collaborators

  • kooiinc