Skip to content

shams-nahid/validate-email-address-node-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Email check

Introduction

Email check is a npm module for NodeJS, that checks if an email address exists and valid.

It validates the email through regex.

Install

npm i validate-email-node-js

Usage

validate(email)

The function signature accepts an arguments and returns a boolean value.

  • true (boolean) valid email address.
  • false (boolean) invalid email address.

Example

const validateEmail = require('validate-email-node-js');
const result = validateEmail.validate('mail@example.com');

MIT License