What are some good email address validation npm libraries?
Are you looking to verify if it's a real email (likely fake?) or to validate that it could be a real email? +1 for HTML5 validation as a simple solution.
This one works fine, if you are thinking about email input: https://www.npmjs.com/package/validator
I think there are quadrillion valid email patterns, so using a library is 🙌 . One other very solid way to validate an email is sending an actual email to that address. Let the user click a link and then flag the mail as verified. I usually stick to the HTML attribute or check for an @ (if anything).