2.0.1 • Published 2 years ago
is-email-node v2.0.1
⚠️ This package is deprecated.
Check if String
is an email address.
Installation
npm install is-email-node
Usage Example
const isEmail = require('is-email-node');
console.log(isEmail('anatoliy.gatt@aol.com'));
console.log(isEmail('@ryandahl.com'));
true
false
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test
License
Distributed under the MIT License.