1.0.0 • Published 7 years ago

string-email-tester v1.0.0

Weekly downloads
4
License
MIT
Repository
-
Last release
7 years ago

string-email-tester

Package for testing whether a string is a valid email.

  • Validates each email according to RFC 5322 guidelines. See RFC 2822 for specific technical details.

Installation

npm install string-email-tester --save

Usage

var isEmail = require('string-email-tester');

isEmail("email@example.com");       // true
isEmail("email@[123.123.123.123]"); // true

isEmail("#@%^%#$@#$@#.com");        // false
isEmail("email");                   // false

Support

Find this package useful? Support it on GitHugz!