{"_id":"sane-email-validation","_rev":"13-30588b729962d6ea8d3367664c0b96cc","name":"sane-email-validation","description":"Sanely validate email addresses, based on HTML5's definition of email addresses","dist-tags":{"latest":"3.0.1"},"versions":{"0.0.1":{"name":"sane-email-validation","version":"0.0.1","author":{"name":"Scott González","email":"scott.gonzalez@gmail.com","url":"http://scottgonzalez.com"},"description":"Sanely validate email addresses, based on HTML5's definition of email addresses","keywords":["email","validation","validate"],"license":{"type":"MIT","url":"https://github.com/scottgonzalez/sane-email-validation/raw/master/LICENSE.txt"},"repository":{"type":"git","url":"git://github.com/scottgonzalez/sane-email-validation.git"},"bugs":{"url":"https://github.com/scottgonzalez/sane-email-validation/issues"},"homepage":"https://github.com/scottgonzalez/sane-email-validation","scripts":{"test":"node tests/all.js"},"dependencies":{},"devDependencies":{"nodeunit":"0.9.0"},"_id":"sane-email-validation@0.0.1","dist":{"shasum":"c17b977c81290583acc0206cd8b7060add285166","tarball":"https://registry.npmjs.org/sane-email-validation/-/sane-email-validation-0.0.1.tgz","integrity":"sha512-HV1F9fgV1bWiREVNymN4xA2yncrC/zdjAxn/sjZ35Eekf+A66HsA+ZJnHZ9XeqMiNDjmWxk4NOT21CE8TE88Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFIlxrHK6oVCCXQtWEMCwvLZoPwGaqLjp1QeLuW2kHlFAiEA317LtxfcwYrgwdleCjmo5TdxrhiEH5QPXAI6SSIIw78="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"},"maintainers":[{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"}],"directories":{}},"1.0.0":{"name":"sane-email-validation","version":"1.0.0","author":{"name":"Scott González","email":"scott.gonzalez@gmail.com","url":"http://scottgonzalez.com"},"description":"Sanely validate email addresses, based on HTML5's definition of email addresses","keywords":["email","validation","validate"],"license":{"type":"MIT","url":"https://github.com/scottgonzalez/sane-email-validation/raw/master/LICENSE.txt"},"repository":{"type":"git","url":"git://github.com/scottgonzalez/sane-email-validation.git"},"bugs":{"url":"https://github.com/scottgonzalez/sane-email-validation/issues"},"homepage":"https://github.com/scottgonzalez/sane-email-validation","scripts":{"test":"node tests/all.js"},"dependencies":{},"devDependencies":{"dco":"0.0.1","nodeunit":"0.9.0"},"_id":"sane-email-validation@1.0.0","dist":{"shasum":"e7e1e2bc63aa990861b6f7605c9751b1f7e3af5a","tarball":"https://registry.npmjs.org/sane-email-validation/-/sane-email-validation-1.0.0.tgz","integrity":"sha512-ljGOx56njYLhSFres/NMufYhwXI9FZI8Kk+qSGcy8z6mt6p3jdFqRk5uS2AdZy/NNzubnjDr+wtM+l2RvV/Dqg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1ZcOq+mfKql18eYse55/Dkr7E52RPnw84YZUUG3lJtgIgJk2RwZKmw8VQzNdioEdcoVIdchdVDqcnRuYKafVqTPw="}]},"_from":".","_npmVersion":"1.4.6","_npmUser":{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"},"maintainers":[{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"}],"directories":{}},"1.1.0":{"name":"sane-email-validation","version":"1.1.0","author":{"name":"Scott González","email":"scott.gonzalez@gmail.com","url":"http://scottgonzalez.com"},"description":"Sanely validate email addresses, based on HTML5's definition of email addresses","keywords":["email","validation","validate"],"license":{"type":"MIT","url":"https://github.com/scottgonzalez/sane-email-validation/raw/master/LICENSE.txt"},"repository":{"type":"git","url":"git://github.com/scottgonzalez/sane-email-validation.git"},"bugs":{"url":"https://github.com/scottgonzalez/sane-email-validation/issues"},"homepage":"https://github.com/scottgonzalez/sane-email-validation","scripts":{"test":"node tests/all.js"},"dependencies":{},"devDependencies":{"dco":"1.0.0","nodeunit":"0.9.0"},"gitHead":"2bfd09b1886d5cff99fd25a185811276f1a23bc2","_id":"sane-email-validation@1.1.0","_shasum":"c8c2a1fde011ccbbfd7729d84a8990b373003d5a","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"},"maintainers":[{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"}],"dist":{"shasum":"c8c2a1fde011ccbbfd7729d84a8990b373003d5a","tarball":"https://registry.npmjs.org/sane-email-validation/-/sane-email-validation-1.1.0.tgz","integrity":"sha512-wKOd4ftvGv+Wfx3Mgydx2ljveskN8c93Nswx05/JttLIrHFo0OlinjFwO+MFSz7DQ/4WFiiIgQfGr5/1jQL6Mg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnLlw1DE0zIU0QL3nL0zi5TrtEXZ6gVF1iAXTn2CUM9AIgdbFJtMPa3ZOxvsWH7ArhrdH/0O+HoC14bDw/Zk2w+Ro="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/sane-email-validation-1.1.0.tgz_1482078792044_0.26191422576084733"},"directories":{}},"2.0.0":{"name":"sane-email-validation","version":"2.0.0","author":{"name":"Scott González","email":"scott.gonzalez@gmail.com","url":"http://scottgonzalez.com"},"description":"Sanely validate email addresses, based on HTML5's definition of email addresses","keywords":["email","validation","validate"],"license":{"type":"MIT","url":"https://github.com/scottgonzalez/sane-email-validation/raw/master/LICENSE.txt"},"repository":{"type":"git","url":"git://github.com/scottgonzalez/sane-email-validation.git"},"bugs":{"url":"https://github.com/scottgonzalez/sane-email-validation/issues"},"homepage":"https://github.com/scottgonzalez/sane-email-validation","scripts":{"test":"node tests/all.js"},"dependencies":{},"devDependencies":{"dco":"1.0.0","nodeunit":"0.9.0"},"gitHead":"f017293ff96f1a8bfc2b87587ddf5c828c666e58","_id":"sane-email-validation@2.0.0","_npmVersion":"6.4.0","_nodeVersion":"8.8.1","_npmUser":{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"},"dist":{"integrity":"sha512-1HW1absblTVwsSGF84bWJjm0MeDrM8Dh7vQhlaQ8qxGaiENF4/LM0yWxcCqw7hg/hVDK4R3SvDjohp5xuL+3tA==","shasum":"f89452b286513198d55246f682694971c12ad6e0","tarball":"https://registry.npmjs.org/sane-email-validation/-/sane-email-validation-2.0.0.tgz","fileCount":9,"unpackedSize":10859,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcKi1+CRA9TVsSAnZWagAARDgP/3XMOx1pLl6FkhuDjm+Q\naXvuaJJ+t1PUcfykrrdezYL/kvptCUiAnScyl+5C0EDEaMAXvcUR9AJWoj0L\nqSy/AISj4y0t/MjAK9l9lOavtoxwfXfoyIuSuM29kHffpsHairla/HkAdv2Z\ncFqRLQXKUbiRTpjlmAfpoFIm4LyJiJYRNVw9Ul2r1qIB4+7kNPLZk7qc6uv+\nOPG6l6D0UaMQnpuDqtnNxxm8r2Gzm8Cf1v3FCzw2OLFxUcKwXT3NwiYgPxUH\nnQWdO/kVlZFdWl8nDZUzdIM/OLszJwyDGOUh2jbExorGBM3pTdpTVmpwqKlI\nsyvjItSGR4dIrq5wHTMZTLRUdxwuaz+KaXZmAEZzUEk8mY/9xWTRFC8V8NpL\nNMbOs2br0OoaIh3IyzHYuy12USLUbPfaSWK29z3Z7/W7FKoUQVMihCJlb6EK\nmPMpKgne/36DelMzGcmcl9hei4hzb3CITlFHGpMgdg/UPUmp7WB28wttMoJM\niDn1PSR9ppBuFL5cXy0nWC6xT+bIWvweWr/w3SHUYnFyZR5snmT1X+JqDwp9\ndqgJ4o9vZ3CJWWP98Yyh1Jb24Khis2cvgSTBc3sIOhcSqDQI0w2FkKe7uKyt\nIBA6vSufNsCMIUqFtaS3gmmZ0BpK8BzXYCidd7E4mlk7pVCwmHwquh3AaFJp\nYDOK\r\n=Hz66\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEebUsoEUS34YNnwn3NjENpBuwm6cqZN+OQPozsroyNBAiEAugtN6nYA3UOfI/eJ+nzxU4xe0YSlx2jgYPBMwqT/WJ0="}]},"maintainers":[{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sane-email-validation_2.0.0_1546268029610_0.22554297708360682"},"_hasShrinkwrap":false},"3.0.0":{"name":"sane-email-validation","version":"3.0.0","author":{"name":"Scott González","email":"scott.gonzalez@gmail.com","url":"http://scottgonzalez.com"},"description":"Sanely validate email addresses, based on HTML5's definition of email addresses","keywords":["email","validation","validate"],"license":{"type":"MIT","url":"https://github.com/scottgonzalez/sane-email-validation/raw/master/LICENSE.txt"},"repository":{"type":"git","url":"git://github.com/scottgonzalez/sane-email-validation.git"},"bugs":{"url":"https://github.com/scottgonzalez/sane-email-validation/issues"},"homepage":"https://github.com/scottgonzalez/sane-email-validation","scripts":{"lint":"standard","nodeunit":"nodeunit tests/unit","test":"npm run lint && npm run nodeunit"},"dependencies":{},"devDependencies":{"nodeunit":"^0.11.3","standard":"^12.0.1"},"gitHead":"2ad7e9a5f6ad6b937b1eda7e84fcf7ed283724b4","_id":"sane-email-validation@3.0.0","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-SB5DkCN9EbTFVgafqXFVLPVp9DlckKgC0x1F2ywqmOfqbGlA5n5qwpvie5NpxMS59vkY5kGP/sKx4g9zVTWspg==","shasum":"654c4fdba2e879ec6076f1e3a80625ccd8268478","tarball":"https://registry.npmjs.org/sane-email-validation/-/sane-email-validation-3.0.0.tgz","fileCount":7,"unpackedSize":15192,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejG/PCRA9TVsSAnZWagAAsT0P/0L0/sgFKYPPjaYk+EYf\nvlXhalur3WVJb3FDAU7IdlBV/GI0MJnEQoB3WDFlvhNgDh9VoDS5XYjKNx1o\noppg55MO4QJfCUenT42S/t63m1wl8sG5hl4G8MTAfeAboXJJMFHXezUWY90H\nHqAHypC3WVLYLEPZMoMU6j4Dk2Hwy14g+xdJL3CfA6gA++8wlGA0HySlYyMQ\nwmUIiLSx4mcqWtjEFQ+AzxHmwQipwNjRrKGAQ0ahw8GU6uSs+fH+dRU8gqRf\ni0YOI1ZZucXVP7U91dGVcnPC68BabXIppC57AhMB+gdbSn2KsCTui2si2UbG\nAZ943gSFeIfqupn7Azt4Dxj0Wx0qj8nv3Lgo+fPDaMMygGh1bmA6+J7g++/T\nmzWzd51zTcKCwiL6R6f7M4uDj+7e3qv5ANTJRZPr3YqEQnp+mpYw6vwQyNj7\nC4G6uaR1oR+xtSG55L1uwZdVIeB7P4JfEiGn3wWYoNevJHDDHaNnTwDxO+0s\nFIzD3lWkoM1bhxV9J2BS1kq9mxKatorjGOK7satmEF00pLA0x9a9IJN4ZKgJ\nCaDUunjydezXB21QxqpegCrKdbJm4A77QIl/dYKFIqphd7jsiU7deNxCAAyh\nAC8uncuUOd6PLb+nyqIfltcjwVcNskDV7PtQqXzXtqUAAKYICvcAxLSsk7JT\nRyGF\r\n=qTFm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSUXcnJ+x36lmD19gCXD15kq4VXvHmWrrNCwgUW8oQUgIhAKA50ESRG9AsuteHxZieYG5pnyaA7aUbREFawuLmLhmN"}]},"maintainers":[{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"}],"_npmUser":{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sane-email-validation_3.0.0_1586261966901_0.6097552737097414"},"_hasShrinkwrap":false},"3.0.1":{"name":"sane-email-validation","version":"3.0.1","author":{"name":"Scott González","email":"scott.gonzalez@gmail.com","url":"http://scottgonzalez.com"},"description":"Sanely validate email addresses, based on HTML5's definition of email addresses","keywords":["email","validation","validate"],"license":{"type":"MIT","url":"https://github.com/scottgonzalez/sane-email-validation/raw/master/LICENSE.txt"},"repository":{"type":"git","url":"git://github.com/scottgonzalez/sane-email-validation.git"},"bugs":{"url":"https://github.com/scottgonzalez/sane-email-validation/issues"},"homepage":"https://github.com/scottgonzalez/sane-email-validation","scripts":{"lint":"standard","nodeunit":"nodeunit tests/unit","test":"npm run lint && npm run nodeunit"},"dependencies":{},"devDependencies":{"nodeunit":"^0.11.3","standard":"^12.0.1"},"gitHead":"8bab45c850bbb4acbd3b5b6ca57359a2e00ce46e","_id":"sane-email-validation@3.0.1","_nodeVersion":"12.16.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-OZK+w1DnoPoifMlwL1Ipu0RohLsCQE8QfHuKFdfdgzTKKp0zrVvQzaDYCh6zuceXyv3pmIkR6hhsnafIGeaSvg==","shasum":"cf0bd9f151a167d61827bc3a81a1f59fd246be4f","tarball":"https://registry.npmjs.org/sane-email-validation/-/sane-email-validation-3.0.1.tgz","fileCount":7,"unpackedSize":15197,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJejHAQCRA9TVsSAnZWagAAorMP/RRrT2We+LN451lJrwzj\nLLl2BT5WTguCF7GF+C+HZZsEN9odNujHuJ2Ou8VVBpLJ2ODB1Wsjm7/enurB\n+HW0UajbkX0f/9EsWMgil5QSOASTxExk13LdwYh0lqjr/MJOEWvtPY/tTWte\n1MHCtOkNeiuN8H/4GUIE+fvUzbOn/XgX6Z9pdoZfy0YnbJwQCbWWWMy7ttwJ\nm7g8ufpfzgXQHF8a6jGcJZmog9PP/2PpshMU1qqI0wXu21SBWenzvY9sSAL9\n9r6N7MX49dRt19cdksoYfrXX2WD2AKpTZOS/ldH9oqy8+m9Q/8tlqRc+qJWY\nqzzDmBJUY/V272WS/AAag3vBRs+yX2nXi8GBUmucz5fH23OfWiLm/VoE7nIt\nKJu41+W85/l/mqFyl8RQtCvVTZxy5gqkAqVDMXW9giX7bexXQlQQoE8T+0tO\nMvDxkjeoUySh84uOPQDEGpXpje0tSnpJBVKdGMwydvcLnZyhxld4opeOjJ/p\nfLZVlYB7RS2CDU3VuuTSsimm4+MV0VOE1AuOFywBgyjgPJ3ps2ZZMqW4X5IQ\n0RO1T3zPmNrzsiTPH04Skki4YIvNnhYy2WrcvdFvMRlNs25L6L15P9bmoiuO\n/1DZDg/IJ7glOiRBmX1bWS4vhCNWUCeGi++y/m/4OYs0y6e7xE+Pkb39Yo7L\nZ4lx\r\n=yk3b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGjTNguciau/3iS0Xph9jQCtXFh9SrIT1/8yLr6PW3eiAiBNgIlqyyfb2JUQqmKNxQ99AFRW2NtII9jreX4lyepdfg=="}]},"maintainers":[{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"}],"_npmUser":{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sane-email-validation_3.0.1_1586262031591_0.7122405478586693"},"_hasShrinkwrap":false}},"readme":"# Sane Email Validation\n\nThere are lots of email address validation modules, but none of them seem to check for sane email addresses. This one does. If you don't agree, please [file an issue](https://github.com/scottgonzalez/sane-email-validation/issues/new) and convince me why.\n\n## Installation\n\n```sh\nnpm install sane-email-validation\n```\n\n## Usage\n\n```js\nconst isEmail = require('sane-email-validation')\nconst email = '...'\n\nif (isEmail(email)) {\n  console.log(`${email} is valid.`)\n} else {\n  console.log(`${email} is not valid.`)\n}\n```\n\n### `isNotEmail()`\n\nAn inverted check is also exposed.\n\n```js\nconst isNotEmail = require('sane-email-validation').isNotEmail\nconst email = '...'\n\nif (isNotEmail(email)) {\n  console.log(`${email} is not valid.`)\n} else {\n  console.log(`${email} is valid.`)\n}\n```\n\n### `isAsciiEmail()`\n\nAn ASCII only version of the validator.\n\nSince internationalized email addresses are not fully supported by all infrastructure, some systems may want to limit what they consider valid. See [International email](https://en.wikipedia.org/wiki/International_email) and the [Email Address Internationalization](https://en.wikipedia.org/wiki/Email_address#Internationalization) on Wikipedia for more information.\n\n```js\nconst isAsciiEmail = require('sane-email-validation').isAsciiEmail\nconst email = '...'\n\nif (isAsciiEmail(email)) {\n  console.log(`${email} is valid.`)\n} else {\n  console.log(`${email} is not valid.`)\n}\n```\n\n### `isNotAsciiEmail()`\n\nAn inverted check is also exposed for the ASCII only version.\n\n```js\nconst isNotAsciiEmail = require('sane-email-validation').isNotAsciiEmail\nconst email = '...'\n\nif (isNotAsciiEmail(email)) {\n  console.log(`${email} is not valid.`)\n} else {\n  console.log(`${email} is valid.`)\n}\n```\n\n## License\n\nCopyright Sane Email Validation contributors. Released under the terms of the MIT license.\n","maintainers":[{"name":"scott.gonzalez","email":"scott.gonzalez@gmail.com"}],"time":{"modified":"2022-06-26T15:54:07.531Z","created":"2014-07-25T00:43:08.555Z","0.0.1":"2014-07-25T00:43:08.555Z","1.0.0":"2014-07-25T17:32:22.748Z","1.1.0":"2016-12-18T16:33:14.219Z","2.0.0":"2018-12-31T14:53:49.757Z","3.0.0":"2020-04-07T12:19:27.018Z","3.0.1":"2020-04-07T12:20:31.764Z"},"homepage":"https://github.com/scottgonzalez/sane-email-validation","keywords":["email","validation","validate"],"repository":{"type":"git","url":"git://github.com/scottgonzalez/sane-email-validation.git"},"author":{"name":"Scott González","email":"scott.gonzalez@gmail.com","url":"http://scottgonzalez.com"},"bugs":{"url":"https://github.com/scottgonzalez/sane-email-validation/issues"},"license":{"type":"MIT","url":"https://github.com/scottgonzalez/sane-email-validation/raw/master/LICENSE.txt"},"readmeFilename":"README.md","users":{"stany":true,"jmsherry":true}}