email-validation-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

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 = 'test@example.com';
console.log(isValidEmail(email)); // true or false based on the validity

Package Sidebar

Install

npm i email-validation-js

Weekly Downloads

2

Version

1.0.8

License

ISC

Unpacked Size

4.33 kB

Total Files

4

Last publish

Collaborators

  • sabaatta