Socket
Socket
Sign inDemoInstall

isemail

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.1.1

.travis.yml

8

package.json
{
"name": "isemail",
"version": "0.1.0",
"version": "0.1.1",
"author": "Eli Skeggs <skeggse@gmail.com>",

@@ -12,6 +12,6 @@ "description": "validate an email address according to RFCs 5321, 5322, and others",

"type": "git",
"url": "https://github.com/globesherpa/isemail.git"
"url": "https://github.com/globesherpa/node-isemail.git"
},
"homepage": "https://github.com/globesherpa/isemail",
"bugs": "https://github.com/globesherpa/isemail/issues",
"homepage": "https://github.com/globesherpa/node-isemail",
"bugs": "https://github.com/globesherpa/node-isemail/issues",
"keywords": [

@@ -18,0 +18,0 @@ "isemail",

isemail
=======
[![Build Status](https://travis-ci.org/globesherpa/node-isemail.png)](https://travis-ci.org/globesherpa/node-isemail)
This first version of `isemail` is a port of the PHP `is_email` function by Dominic Sayers.

@@ -12,3 +14,3 @@

```sh
$ npm install slurp
$ npm install isemail
```

@@ -15,0 +17,0 @@

@@ -92,3 +92,3 @@ var expect = require('expect.js');

['test@iana-.com', diagnoses.ISEMAIL_ERR_DOMAINHYPHENEND],
['test@c--n.com', diagnoses.ISEMAIL_VALID],
['test@c--n.com', diagnoses.ISEMAIL_DNSWARN_NO_MX_RECORD],
['test@iana.co-uk', diagnoses.ISEMAIL_DNSWARN_NO_RECORD],

@@ -95,0 +95,0 @@ ['test@.iana.org', diagnoses.ISEMAIL_ERR_DOT_START],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc