validate-email-node-js

Validate email in node js

Usage no npm install needed!

<script type="module">
  import validateEmailNodeJs from 'https://cdn.skypack.dev/validate-email-node-js';
</script>

README

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