email-validation-js
v1.0.8
Published
A simple email validation utility
Downloads
10
Maintainers
Readme
Email Validation JS
A simple and effective email validator package for JavaScript. It ensures that the email address conforms to common email patterns and has a valid top-level domain (TLD).
Installation
You can install the package using npm:
npm install email-validation-js
## Usage
import isValidEmail from 'email-validation-js';
const email = '[email protected]';
console.log(isValidEmail(email)); // true or false based on the validity