{"_id":"@dannylai/deep-email-validator","_rev":"1-66ce337d7d069b287e2566c1738c2613","name":"@dannylai/deep-email-validator","dist-tags":{"latest":"0.1.23"},"versions":{"0.1.22":{"name":"@dannylai/deep-email-validator","version":"0.1.22","description":"Validates emails based on regex, common typos, disposable email blacklists, DNS records and SMTP server response.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/mfbx9da4/deep-email-validator.git"},"author":{"name":"David Alberto Adler"},"contributors":[{"name":"Danny Lai","email":"dannylai@livapp.com"}],"license":"MIT","keywords":["email-validation","email-typos","email-regex","disposable-emails","smtp","mx-records"],"scripts":{"start":"yarn serve","build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint","preversion":"yarn lint","version":"yarn format && git add -A src","postversion":"git push && git push --tags","watch-node":"nodemon dist/index.js","test":"jest --verbose","watch-test":"yarn test -- --watchAll","watch-ts":"tsc -w","lint":"tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix","debug":"yarn build && yarn watch-debug","run-debug":"nodemon --inspect dist/server.js"},"dependencies":{"@types/disposable-email-domains":"^1.0.1","axios":"^0.24.0","disposable-email-domains":"^1.0.59","mailcheck":"^1.1.1"},"devDependencies":{"@types/eslint":"^6.1.1","@types/jest":"^24.0.23","@types/lodash":"^4.14.141","@types/mailcheck":"^1.1.31","@types/node":"^12.7.8","@typescript-eslint/eslint-plugin":"^2.3.1","@typescript-eslint/parser":"^2.3.1","eslint":"^6.4.0","jest":"^25.1.0","lodash":"^4.17.21","nodemon":"^2.0.15","prettier":"^2.5.1","ts-jest":"^25.2.1","ts-node":"^10.4.0","typescript":"^3.8.3"},"gitHead":"ed7883edf4309ef900c1e2404215d67761f21e11","bugs":{"url":"https://github.com/mfbx9da4/deep-email-validator/issues"},"homepage":"https://github.com/mfbx9da4/deep-email-validator#readme","_id":"@dannylai/deep-email-validator@0.1.22","_nodeVersion":"14.18.1","_npmVersion":"8.5.5","dist":{"integrity":"sha512-D8KHXYEWESDYgo+vwz3Zv1b471oYsKrao3IbzItbgGNmpz9GYe96rYPVB/MnH4GWC96df5SARDzKjm5aVobA3g==","shasum":"e1eb0943631c417c6ccc26b8a7effe2d8f7fc907","tarball":"https://registry.npmjs.org/@dannylai/deep-email-validator/-/deep-email-validator-0.1.22.tgz","fileCount":33,"unpackedSize":32040,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDethufKGDJlnI126KLKk9cDvjG+OL32YlEwZaA+D7DBQIhAKhlcyhpMtpvowxBYZC2qoWxWWy9lQq/ZXxhX+5XuYzH"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiff9PACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmozSQ/+J8kEl+TaStIOTwEIYA+9X6YFHOQHCezdG/Uh26Do6nHJn9sp\r\neCkGBfJ/Wd6qww91rtwTNWZaWlXRSpM3ywcNnCI9SpKa/Ye3PkbSYxy3Gmst\r\nmlBBqR/xJ0E/ghiF/nsgp+tMTJhub6Z0qg8/n0yr8+2qfT8UcrnyRe+v1YXo\r\nwpRhYaQeeVcTnWCkJ8Qpy0Sb1y/m+P+8b9fNEMv5pzicIM4ACBmdI66O1Zct\r\nD1EZWnKGzORKCztkYsgiUWQxr/ok1JBo16lRdUdrgIbe16RJEAaKMcGHmIot\r\nZ8Uf6rLjAmXQbEzRDqABBUcKayk2hgu1GIpZNBmMpt0HO1KOE1LNliuUY73F\r\ncv84VE/H7R87fMoEj7K0ih/m47z4gDk2YIHHdCxo1ohewSITfEoqYenjhAOA\r\nLINQrP9AdQlBtRLDkuZeKn1pzUSYZpjERuV2CLcOxe4K3Mad2K3qmU482e6f\r\n1FtQJmHLQqbDU7vak7Vl+fqVpSByXpVdES4LkusMegyf8/e4mRVz96r6hBvj\r\nG2YrsEe37rZr+gQjMxL0DabVSBHteP180tlC58YWW3hu7uVB8BY0Xf3Z/9sH\r\n8hXootudPKdG3NQ3PMl9qoQh62wSxMQMHWMj5cTPwZebUtMhRS5dE5Redrfn\r\nbNuQi/Hgv/fdwy9BKMQMY1Kp8vOg6rM7tak=\r\n=WBQi\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dannylai","email":"dannylai@livapp.com"},"directories":{},"maintainers":[{"name":"dannylai","email":"dannylai@livapp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deep-email-validator_0.1.22_1652424526938_0.29884532877849046"},"_hasShrinkwrap":false},"0.1.23":{"name":"@dannylai/deep-email-validator","version":"0.1.23","description":"Validates emails based on regex, common typos, disposable email blacklists, DNS records and SMTP server response.","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/dannylai999/deep-email-validator.git"},"author":{"name":"David Alberto Adler"},"contributors":[{"name":"Danny Lai","email":"dannylai@livapp.com"}],"license":"MIT","keywords":["email-validation","email-typos","email-regex","disposable-emails","smtp","mx-records"],"scripts":{"start":"yarn serve","build":"tsc","format":"prettier --write \"src/**/*.ts\" \"src/**/*.js\"","prepare":"yarn build","prepublishOnly":"yarn test && yarn lint","preversion":"yarn lint","version":"yarn format && git add -A src","postversion":"git push && git push --tags","watch-node":"nodemon dist/index.js","test":"jest --verbose","watch-test":"yarn test -- --watchAll","watch-ts":"tsc -w","lint":"tsc --noEmit && eslint \"**/*.{js,ts}\" --quiet --fix","debug":"yarn build && yarn watch-debug","run-debug":"nodemon --inspect dist/server.js"},"dependencies":{"@types/disposable-email-domains":"^1.0.1","axios":"^0.24.0","disposable-email-domains":"^1.0.59","mailcheck":"^1.1.1"},"devDependencies":{"@types/eslint":"^6.1.1","@types/jest":"^24.0.23","@types/lodash":"^4.14.141","@types/mailcheck":"^1.1.31","@types/node":"^12.7.8","@typescript-eslint/eslint-plugin":"^2.3.1","@typescript-eslint/parser":"^2.3.1","eslint":"^6.4.0","jest":"^25.1.0","lodash":"^4.17.21","nodemon":"^2.0.15","prettier":"^2.5.1","ts-jest":"^25.2.1","ts-node":"^10.4.0","typescript":"^3.8.3"},"gitHead":"94549dffee608bbf1d89c00c2d792941b0bb43fe","bugs":{"url":"https://github.com/dannylai999/deep-email-validator/issues"},"homepage":"https://github.com/dannylai999/deep-email-validator#readme","_id":"@dannylai/deep-email-validator@0.1.23","_nodeVersion":"14.18.1","_npmVersion":"8.5.5","dist":{"integrity":"sha512-gfp1iOxGOB30eUj1t0+UTE9atDN4OBQXNFbXJSjeKVtmXj0X43o60cRIhtrHkVVtESuZNKPil+aHOLPVNi3kOw==","shasum":"43f6e2cfb3be07888fda94b53455a431e856ad6e","tarball":"https://registry.npmjs.org/@dannylai/deep-email-validator/-/deep-email-validator-0.1.23.tgz","fileCount":33,"unpackedSize":32043,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvw8MBLgbMMphoBcLt1zIxWZIH25/iczvrIOc2Emp1JgIgZ2vPrgxDpO3QMRoM33aLqvdJmSpF4t+MykBUTzJp7uE="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJifgCOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqeBQ/+Mkx7yHbq+CQWDApKBsawJGdisM+Jx9Y1VaIwjc5bZMVnKHJM\r\na23KUUNAq+LiJPQh0db0hixu0e/pKOfY/aKuWAd7P8SG8gEnBFH5fFV+/cOJ\r\nmzJ2mb0N9W5WbFMbKjjeMOC8zNtOPZ3TCT5NtZTu17yVZ+pkTPKwwacKkz3+\r\njui63wAeOIddE7EKuvJSxlOBHAJJnMD/mTW+pohfGzMutx8HQl0GTt6csM9/\r\nhaxPptFpc6BAlt7Mk8VHOBDE6y9reYCpgmz4ynpNVAc+ggBxsJXxJSGsGqmf\r\nnrK8UmhMiWX/zKW3eype7hPJlbvUMVt4EqsKPdrr7f/iJbYLoRN0BU15x1+K\r\njxkgoFzOhv39fHetBs+PTc8tBsEikecjHe9cvTo9MJtaSwOeNIN7xQ37EBJX\r\ntHmlzOVl6R+xEv6iK4ZkUJN4YlV0zBbu/8dogZgZj9E3tb+7lvhwfjYrwGdd\r\n/ipF6WyYJPDTv/hZF2VJEXRo9z4Jx6eGP4jwVuEdy7/npIGwPG51an/HdCPR\r\n9/YMb6JzYYt9mn6fFnrx7Ws9T8rXjjNZVqtERa1+r03sG97e70VljiRApoIO\r\nZmj9QdrxAdH+uQWQqjFR/YzmrHruUgBh+a8lPj3/8zRcFrLnqwPhPvB1Tumo\r\nk6/ddpZ8TwL51OOzuBjr5rDyfWWX+0KMbJc=\r\n=6469\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"dannylai","email":"dannylai@livapp.com"},"directories":{},"maintainers":[{"name":"dannylai","email":"dannylai@livapp.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deep-email-validator_0.1.23_1652424845930_0.6581070606387829"},"_hasShrinkwrap":false}},"time":{"created":"2022-05-13T06:48:46.891Z","0.1.22":"2022-05-13T06:48:47.139Z","modified":"2022-05-13T06:54:06.178Z","0.1.23":"2022-05-13T06:54:06.110Z"},"maintainers":[{"name":"dannylai","email":"dannylai@livapp.com"}],"description":"Validates emails based on regex, common typos, disposable email blacklists, DNS records and SMTP server response.","homepage":"https://github.com/dannylai999/deep-email-validator#readme","keywords":["email-validation","email-typos","email-regex","disposable-emails","smtp","mx-records"],"repository":{"type":"git","url":"git+https://github.com/dannylai999/deep-email-validator.git"},"contributors":[{"name":"Danny Lai","email":"dannylai@livapp.com"}],"author":{"name":"David Alberto Adler"},"bugs":{"url":"https://github.com/dannylai999/deep-email-validator/issues"},"license":"MIT","readme":"# Email Validator\n\nValidates email addresses based on regex, common typos, disposable email blacklists, DNS records and SMTP server response.\n\n- Validates email looks like an email i.e. contains an \"@\" and a \".\" to the right of it.\n- Validates common typos e.g. example@gmaill.com using [mailcheck](https://github.com/mailcheck/mailcheck).\n- Validates email was not generated by disposable email service using [disposable-email-domains](https://github.com/ivolo/disposable-email-domains).\n- Validates MX records are present on DNS.\n- Validates SMTP server is running.\n- Validates mailbox exists on SMTP server.\n- Native typescript support.\n\n## Getting Started\n\nComaptible with nodejs only. Not browser ready.\n\nInstall like so\n\n```\nnpm i deep-email-validator --save\n```\n\nor with yarn\n\n```\nyarn add deep-email-validator\n```\n\nUse like so\n\n```typescript\nimport validate from 'deep-email-validator'\nconst main = async () => {\n  let res = await validate('asdf@gmail.com')\n  // {\n  //   \"valid\": false,\n  //   \"reason\": \"smtp\",\n  //   \"validators\": {\n  //       \"regex\": {\n  //         \"valid\": true\n  //       },\n  //       \"typo\": {\n  //         \"valid\": true\n  //       },\n  //       \"disposable\": {\n  //         \"valid\": true\n  //       },\n  //       \"mx\": {\n  //         \"valid\": true\n  //       },\n  //       \"smtp\": {\n  //         \"valid\": false,\n  //         \"reason\": \"Mailbox not found.\",\n  //       }\n  //   }\n  // }\n\n  // Can also be called with these default options\n  await validate({\n    email: 'name@example.org',\n    sender: 'name@example.org',\n    validateRegex: true,\n    validateMx: true,\n    validateTypo: true,\n    validateDisposable: true,\n    validateSMTP: true,\n  })\n}\n```\n\n[Default options can be found here](https://github.com/mfbx9da4/deep-email-validator/blob/cefb37abc6e42d3a1551d38f9706d4ff538226e5/src/options/options.ts#L1)\n","readmeFilename":"README.md"}