email-validator

Provides a fast, pretty robust e-mail validator. Only checks form, not function.

19 个版本
安装
npm install email-validator
yarn add email-validator
pnpm add email-validator
bun add email-validator
README

email-validator

A simple module to validate an e-mail address

travis build version downloads XO code style

Installation

Install via NPM:

npm install email-validator

Usage

javascript


var validator = require("email-validator");

validator.validate("test@email.com"); // true

TypeScript


import * as EmailValidator from 'email-validator';

EmailValidator.validate("test@email.com"); // true


Contribute

Contributions welcome! Check the LICENSE file for more info.

Meta

Distributed under the unlicense public domain. See LICENSE for more information.

https://github.com/manishsaraan/email-validator

版本列表
2.0.4 2018-05-27
2.0.3 2018-04-13
2.0.2 2018-04-13
2.0.0 2018-04-12
1.2.3 2018-04-18
1.2.1 2018-04-12
1.1.1 2017-07-31
1.1.0 2017-07-31
1.0.7 2016-09-15
1.0.6 2016-09-15
1.0.5 2016-08-24
1.0.4 2016-01-19
1.0.3 2015-08-17
1.0.2 2015-07-01
1.0.1 2014-07-29
1.0.0 2013-12-25
0.1.2 2012-08-31
0.1.1 2012-06-18
0.1.0 2012-06-17