Skip to content

A single function to check whether a provided email is in a valid form.

Notifications You must be signed in to change notification settings

ObaidQatan/is-valid-email

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-valid-email

A single javascript function to check whether a provided email is in a valid form.

Example

import isValidEmail from './isValidEmail';


const email = "myemail27@gmail.com";
console.log(isValidEmail(email));
>true
~$
import isValidEmail from './isValidEmail';


const invalid_email = "$myemail27@gmail.com";
console.log(isValidEmail(invalid_email));
>false
~$

About

A single function to check whether a provided email is in a valid form.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published