all-good-emails
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Pretty good email validator 👌 (with TLDs)

This should hopefully solve your problems if you also want to validate an email and check if the TLD is valid, not just the general email pattern.

Keep your emails all good 👌

Installation

Install with npm:

npm install all-good-emails

Usage

import validate from "all-good-emails"

validate("jane@doe.io") // true
validate("jane@io") // false
validate("jane@doe.oi") // false

Package Sidebar

Install

npm i all-good-emails

Weekly Downloads

23

Version

0.0.5

License

MIT

Unpacked Size

67 kB

Total Files

18

Last publish

Collaborators

  • oskarmcd