email-syntax-validator

1.0.3 • Public • Published

email-syntax-validator

A simple and fast NPM module to validate an e-mail address.

Installation

Install via NPM:

npm install email-syntax-validator
 

Install via YARN:

yarn add email-syntax-validator
 

Usage

JavaScript

 
var validator = require("email-syntax-validator");
 
validator.validate("test@email.com"); // true
 

TypeScript

 
import * as EmailValidator from 'email-syntax-validator';
 
EmailValidator.validate("test@email.com"); // true
 
 

Contributing

  1. Fork this repository;
  2. Create your feature branch: git checkout -b new-feature;
  3. Commit your changes: git commit -m 'feat: add some feature';
  4. Push to the branch: git push origin new-feature.

After your pull request is merged, you can safely delete your branch.

License

This project is licensed under the MIT License - see the LICENSE file for details.


✔️ Made by vilmacio22

Package Sidebar

Install

npm i email-syntax-validator

Weekly Downloads

5

Version

1.0.3

License

MIT

Unpacked Size

9.99 kB

Total Files

6

Last publish

Collaborators

  • vilmacio22