vilmacio / npm-email-syntax-validator

A simple package to validate an email address

Home Page:https://www.npmjs.com/package/email-syntax-validator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A simple package to validate an email address

https://www.npmjs.com/package/email-syntax-validator

License:MIT License


Languages

Language:JavaScript 100.0%