{
  "_args": [
    [
      {
        "raw": "isemail@https://registry.npmjs.org/isemail/-/isemail-1.2.0.tgz",
        "scope": null,
        "escapedName": "isemail",
        "name": "isemail",
        "rawSpec": "https://registry.npmjs.org/isemail/-/isemail-1.2.0.tgz",
        "spec": "https://registry.npmjs.org/isemail/-/isemail-1.2.0.tgz",
        "type": "remote"
      },
      "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin"
    ]
  ],
  "_from": "isemail@>=1.0.0 <2.0.0",
  "_id": "isemail@1.2.0",
  "_inCache": true,
  "_location": "/firebase-admin/isemail",
  "_phantomChildren": {},
  "_requested": {
    "raw": "isemail@https://registry.npmjs.org/isemail/-/isemail-1.2.0.tgz",
    "scope": null,
    "escapedName": "isemail",
    "name": "isemail",
    "rawSpec": "https://registry.npmjs.org/isemail/-/isemail-1.2.0.tgz",
    "spec": "https://registry.npmjs.org/isemail/-/isemail-1.2.0.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/firebase-admin",
    "/firebase-admin/joi"
  ],
  "_resolved": "https://registry.npmjs.org/isemail/-/isemail-1.2.0.tgz",
  "_shasum": "be03df8cc3e29de4d2c5df6501263f1fa4595e9a",
  "_shrinkwrap": null,
  "_spec": "isemail@https://registry.npmjs.org/isemail/-/isemail-1.2.0.tgz",
  "_where": "E:\\MissionXJC\\XJC\\functions\\node_modules\\firebase-admin",
  "author": {
    "name": "Eli Skeggs",
    "email": "skeggse@gmail.com"
  },
  "bugs": {
    "url": "https://github.com/hapijs/isemail/issues"
  },
  "dependencies": {},
  "description": "validate an email address according to RFCs 5321, 5322, and others",
  "devDependencies": {
    "code": "^1.5.0",
    "lab": "^5.16.1"
  },
  "engines": {
    "node": ">=0.10"
  },
  "homepage": "https://github.com/hapijs/isemail",
  "keywords": [
    "isemail",
    "validation",
    "check",
    "checking",
    "verification",
    "email",
    "address",
    "email address"
  ],
  "license": "BSD-2-Clause",
  "main": "./index",
  "name": "isemail",
  "optionalDependencies": {},
  "readme": "isemail\r\n=======\r\n\r\nNode email address validation library\r\n\r\n[![Build Status](https://travis-ci.org/hapijs/isemail.png)](https://travis-ci.org/hapijs/isemail)\r\n[![Coverage Status](https://coveralls.io/repos/hapijs/isemail/badge.png?branch=master)](https://coveralls.io/r/hapijs/isemail?branch=master)\r\n\r\nLead Maintainer: [Eli Skeggs](https://github.com/skeggse)\r\n\r\nThis first version of `isemail` is a port of the PHP `is_email` function by Dominic Sayers.\r\n\r\nInstall\r\n-------\r\n\r\n```sh\r\n$ npm install isemail\r\n```\r\n\r\nTest\r\n----\r\n\r\nThe tests were pulled from is_email's extensive [test suite][tests] on October 15, 2013. Many thanks to the contributors! Additional tests have been added to increase code coverage and verify edge-cases.\r\n\r\nRun any of the following.\r\n\r\n```sh\r\n$ lab\r\n$ npm test\r\n$ make test\r\n```\r\n\r\n_remember to_ `npm install`!\r\n\r\nAPI\r\n---\r\n\r\n### isEmail(email, [options], [callback])\r\n\r\nDetermines whether the `email` is valid or not, for various definitions thereof. Optionally accepts an `options` object and a `callback` function. Options may include `errorLevel` and `checkDNS`. The `callback` function will always be called if specified, and the result of the operation supplied as the only parameter to the callback function. If `isEmail` is not asked to check for the existence of the domain (`checkDNS`), it will also synchronously return the result of the operation.\r\n\r\nUse `errorLevel` to specify the type of result for `isEmail`. Passing a `false` literal will result in a true or false boolean indicating whether the email address is sufficiently defined for use in sending an email. Passing a `true` literal will result in a more granular numeric status, with zero being a perfectly valid email address. Passing a number will return `0` if the numeric status is below the `errorLevel` and the numeric status otherwise.\r\n\r\nThe `tldWhitelist` option can be either an object lookup table or an array of valid top-level domains. If the email address has a top-level domain that is not in the whitelist, the email will be marked as invalid.\r\n\r\nThe `minDomainAtoms` option is an optional positive integer that specifies the minimum number of domain atoms that must be included for the email address to be considered valid. Be careful with the option, as some top-level domains, like `io`, directly support email addresses. To better handle fringe cases like the `io` TLD, use the `checkDNS` parameter, which will only allow email addresses for domains which have an MX record.\r\n\r\n#### Examples\r\n\r\n```js\r\n$ node\r\n> var isEmail = require('isemail');\r\nundefined\r\n> var log = console.log.bind(console, 'result');\r\nundefined\r\n> isEmail('test@iana.org');\r\ntrue\r\n> isEmail('test@iana.org', log);\r\nresult true\r\ntrue\r\n> isEmail('test@iana.org', {checkDNS: true});\r\nundefined\r\n> isEmail('test@iana.org', {checkDNS: true}, log);\r\nundefined\r\nresult true\r\n> isEmail('test@iana.org', {errorLevel: true});\r\n0\r\n> isEmail('test@iana.org', {errorLevel: true}, log);\r\nresult 0\r\n0\r\n> isEmail('test@e.com');\r\ntrue\r\n> isEmail('test@e.com', {checkDNS: true, errorLevel: true}, log);\r\nundefined\r\nresult 6\r\n> isEmail('test@e.com', {checkDNS: true, errorLevel: 7}, log);\r\nundefined\r\nresult 0\r\n> isEmail('test@e.com', {checkDNS: true, errorLevel: 6}, log);\r\nundefined\r\nresult 6\r\n```\r\n\r\nTODO\r\n====\r\n\r\nAdd tests for library usage, not just functionality comparisons.\r\nFuture versions will improve upon the current version, optimizing it for efficient usage and DRYing the code.\r\n\r\nLicense\r\n=======\r\n\r\n[BSD License](http://www.opensource.org/licenses/bsd-license.php)\r\n\r\n[tests]: http://isemail.info/_system/is_email/test/?all‎ \"is_email test suite\"\r\n",
  "readmeFilename": "README.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/hapijs/isemail.git"
  },
  "scripts": {
    "test": "lab -r console -o stdout -r lcov -o coverage.lcov -a code -L",
    "test-cov-html": "lab -r html -o coverage.html -a code"
  },
  "version": "1.2.0"
}
