email-syntax-validator
v1.0.3
Published
A simple and fast NPM module to validate an e-mail address.
Downloads
12
Maintainers
Readme
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("[email protected]"); // true
TypeScript
import * as EmailValidator from 'email-syntax-validator';
EmailValidator.validate("[email protected]"); // true
Contributing
- Fork this repository;
- Create your feature branch:
git checkout -b new-feature
; - Commit your changes:
git commit -m 'feat: add some feature'
; - 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.
:heavy_check_mark: Made by vilmacio22