{"_id":"email-domain-check","_rev":"14-ebe939ddfc8d72d563ae56340d5fd6dd","name":"email-domain-check","dist-tags":{"latest":"2.0.5"},"versions":{"0.1.0":{"name":"email-domain-check","version":"0.1.0","keywords":["normalize","url","uri","address","string","normalization","normalisation","query","querystring","unicode","simplify","strip","trim","url parser"],"author":{"name":"Mehmet Kozan"},"license":"MIT","_id":"email-domain-check@0.1.0","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://gitlab.com/mehmet.kozan/email-domain-check","bugs":{"url":"https://gitlab.com/mehmet.kozan/email-domain-check/issues","email":"mehmet.kozan@live.com"},"dist":{"shasum":"d86ed05085cf95a5188db2ad19c082678e1ec99c","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-0.1.0.tgz","integrity":"sha512-tP4zA4hpVuvM0uiV9ZTw8suMz5J+uc6ktV/Mq3dkvBC8T+kAfiPD7db3cA0d7IKLLgGzRM+FD6atkrIXiWr+wA==","signatures":[{"sig":"MEYCIQDBdfm+1KDh9lQX9CLks4rMgvJFfa6PNPRP2eK65kBfVQIhAJY8WxYpWar8UBsmdf1CGslCg3PARNxNcJ85v3asfe3P","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"email-domain-check.js","_from":".","_shasum":"d86ed05085cf95a5188db2ad19c082678e1ec99c","engines":{"node":"8.2.1"},"gitHead":"d2253252a1072d5ca66ae0c4df32e1979b583537","scripts":{"test":"mocha --recursive","start":"node email-domain-check.js"},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://gitlab.com/mehmet.kozan/email-domain-check.git","type":"git"},"_npmVersion":"3.10.10","description":"A simple matcher with regex cache.","_nodeVersion":"6.11.4","dependencies":{"escape-string-regexp":"*"},"devDependencies":{"fs":"*","path":"*","mocha":"*"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check-0.1.0.tgz_1512276314618_0.5013619505334646","host":"s3://npm-registry-packages"},"directories":{}},"1.1.0":{"name":"email-domain-check","version":"1.1.0","keywords":["email","existence","validation","validator","domain","mx","mail-exchange","mail","smtp","verify","validate"],"author":{"name":"Mehmet Kozan","email":"mehmet.kozan@live.com"},"license":"MIT","_id":"email-domain-check@1.1.0","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://gitlab.com/autokent/email-domain-check","bugs":{"url":"https://gitlab.com/autokent/email-domain-check/issues","email":"mehmet.kozan@live.com"},"dist":{"shasum":"8ec14d0de9a933f682c6339c88cb9da0df132f17","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-1.1.0.tgz","integrity":"sha512-HNZ198SVNcGk8asHQ4J3E7i48yf4cmm/fAy+kaXqJrhRLsJylSOggQ6PrKQtW9S1TIpfoJotT1mFVohtaE8ctA==","signatures":[{"sig":"MEQCIE+3sy6N7nc3UObrF6ajx+dDd/xxrokJjny6raIVpb/aAiA7e8i+M4ZfpxB5xWTyKUJIqlx6VyT4UQ6xw6Gk9UhXRg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"email-domain-check.js","engines":{"node":">=6.8.1"},"gitHead":"390a402d74cad09977f8a64fe5b1a5bf0278e189","scripts":{"test":"mocha --recursive","start":"node email-domain-check.js"},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://gitlab.com/autokent/email-domain-check.git","type":"git"},"_npmVersion":"5.5.1","description":"Checks existence of E-Mail DNS MX records.","_nodeVersion":"8.9.1","dependencies":{"co":"^4.6.0","dnscache":"^1.0.1"},"devDependencies":{"path":"^0.12.7","mocha":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check-1.1.0.tgz_1513324476687_0.6645095276180655","host":"s3://npm-registry-packages"},"directories":{}},"1.1.3":{"name":"email-domain-check","version":"1.1.3","keywords":["email","existence","validation","validator","domain","mx","mail-exchange","mail","smtp","verify","validate","validate-email-hostname","mailcheck","email-checker","is-open-mail","validate-email-hostname","email-deep-validator","enhanced-email-deep-validator","mail-confirm","legit","email-mx-validator","email-full-validate"],"author":{"name":"Mehmet Kozan","email":"mehmet.kozan@live.com"},"license":"MIT","_id":"email-domain-check@1.1.3","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://gitlab.com/autokent/email-domain-check","bugs":{"url":"https://gitlab.com/autokent/email-domain-check/issues","email":"mehmet.kozan@live.com"},"dist":{"shasum":"eb51803b57e301fca57264d4aff2d5af5d337677","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-1.1.3.tgz","integrity":"sha512-3/IUcsu/w0ovjyqP1C79dV3xDasAkt65ji9c3UQ7H3vVNWRVQtj9hPP2A7fZHhDHn1jhSpXpclPJi/IxNKd9ug==","signatures":[{"sig":"MEYCIQDXMiZis8e/jrWniMKsOqf1+SilFf/CLgkKMyuKHjdV6QIhAIzvkIJj4k9/YQplyABIa5i/Etm/AVpB3MGyN6ukl4qc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"email-domain-check.js","engines":{"node":">=6.8.1"},"gitHead":"f384d926bb2df52fe4fa15676addbb4264b0e6fb","scripts":{"test":"mocha --recursive","start":"node email-domain-check.js"},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://gitlab.com/autokent/email-domain-check.git","type":"git"},"_npmVersion":"5.5.1","description":"Checks existence of E-Mail DNS MX records.","_nodeVersion":"8.9.1","dependencies":{"co":"^4.6.0","dnscache":"^1.0.1"},"devDependencies":{"path":"^0.12.7","mocha":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check-1.1.3.tgz_1513347582633_0.5835366661194712","host":"s3://npm-registry-packages"},"directories":{}},"1.1.4":{"name":"email-domain-check","version":"1.1.4","keywords":["email","existence","validation","validator","domain","mx","mail-exchange","mail","smtp","verify","validate","validate-email-hostname","mailcheck","email-checker","is-open-mail","validate-email-hostname","email-deep-validator","enhanced-email-deep-validator","mail-confirm","legit","email-mx-validator","email-full-validate"],"author":{"name":"Mehmet Kozan","email":"mehmet.kozan@live.com"},"license":"MIT","_id":"email-domain-check@1.1.4","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://gitlab.com/autokent/email-domain-check","bugs":{"url":"https://gitlab.com/autokent/email-domain-check/issues","email":"mehmet.kozan@live.com"},"dist":{"shasum":"b4001caaf7f7fa15fb8604dbb0739d2179578e8a","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-1.1.4.tgz","integrity":"sha512-Yz+hjRaJqogl1j58UAJgrgxPnFd8R4kRW5JS145C4QZHVsSzJTSSSXW61GoqI9RbSRhDRB0vBS33fUyBki7AOw==","signatures":[{"sig":"MEUCIQDjNMsCU9ZDykTVZwPM78mKJs8WgJ2rJxaQMYCpBFNTrgIgHWVwKrZkAd59axWtu5ZPI/gMRYl2DSD0HyphtHiqny0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"email-domain-check.js","engines":{"node":">=6.8.1"},"gitHead":"cafce7369b0d8963ddb7a4cbecc71ace625e29f1","scripts":{"test":"mocha --recursive","start":"node email-domain-check.js"},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://gitlab.com/autokent/email-domain-check.git","type":"git"},"_npmVersion":"5.5.1","description":"Checks existence of E-Mail DNS MX records.","_nodeVersion":"8.9.1","dependencies":{"co":"^4.6.0","dnscache":"^1.0.1"},"devDependencies":{"path":"^0.12.7","mocha":"^4.0.1"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check-1.1.4.tgz_1514561061340_0.47539725410752","host":"s3://npm-registry-packages"},"directories":{}},"1.1.5":{"name":"email-domain-check","version":"1.1.5","keywords":["email","existence","validation","validator","domain","mx","mail-exchange","mail","smtp","verify","validate","validate-email-hostname","mailcheck","email-checker","is-open-mail","validate-email-hostname","email-deep-validator","enhanced-email-deep-validator","mail-confirm","legit","email-mx-validator","email-full-validate"],"author":{"name":"Mehmet Kozan"},"license":"MIT","_id":"email-domain-check@1.1.5","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://github.com/mehmet-kozan/email-domain-check","bugs":{"url":"https://github.com/mehmet-kozan/email-domain-check/issues"},"dist":{"shasum":"a4f48fd5552416798c22ee1afa63342036c9d092","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-1.1.5.tgz","fileCount":4,"integrity":"sha512-UxJ4TjiFMH5YgnsHFx8DX9gvnlAuKAswHSbNFxjQzJIx6Z9OhjFR1YAaowUpBMMx90IBRml0q39kEpdt4EQ45w==","signatures":[{"sig":"MEUCIQDPfRaWZPKbbvasop4e3vo3IVmiQlWkkmFsOqT7RtQGcgIgcBH00rrRxyX4eMlonRsbEAzKEFMtXAsuE99kxRBAW+o=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3636},"main":"src/email-domain-check.js","type":"commonjs","engines":{"node":">=18"},"gitHead":"9f96f047f09110d56d966bac08f9b2aab0340065","scripts":{"test":"mocha --recursive","start":"node email-domain-check.js"},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://github.com/mehmet-kozan/email-domain-check.git","type":"git"},"_npmVersion":"11.6.2","description":"Checks existence of E-Mail DNS MX records.","directories":{},"_nodeVersion":"22.20.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"mocha":"^11.7.5"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check_1.1.5_1763523771774_0.9542744517601032","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"email-domain-check","version":"2.0.0","keywords":["email","existence","validation","validator","domain","mx","mail-exchange","mail","smtp","verify","validate","validate-email-hostname","mailcheck","email-checker","is-open-mail","validate-email-hostname","email-deep-validator","enhanced-email-deep-validator","mail-confirm","legit","email-mx-validator","email-full-validate"],"author":{"name":"Mehmet Kozan"},"license":"MIT","_id":"email-domain-check@2.0.0","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://github.com/mehmet-kozan/email-domain-check","bugs":{"url":"https://github.com/mehmet-kozan/email-domain-check/issues"},"dist":{"shasum":"b600c5fd207c89c9db9bcdcd072dcbf2a205ea3e","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-2.0.0.tgz","fileCount":10,"integrity":"sha512-XLj46A6SrF4a3+tl6wG5frcU0tBtFgFuZDUI/7/zBHqp1GFIOlbOoRMr4fGyiffzsQnUgRdFCbeXy4WpuZ1Fhw==","signatures":[{"sig":"MEQCICDdjk5jV9luKvnTr/jz2FLZj8zmjsZA+I/lxLQHHUKBAiB8kH7Sx7UQIXzwZSiUq8kLQ4/G6mGeNoHfbkJNuZqeCA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5333},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"b14b2505058f0f0bc2aa6b05e9a8b61a4dc25c15","scripts":{"lint":"biome lint .","test":"vitest run","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"rimraf dist","format":"biome format --write .","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","postbuild":"cpy  ./package.cjs.json ./dist/cjs/ --rename=package.json","format:all":"biome check --write .","format:check":"biome check ."},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://github.com/mehmet-kozan/email-domain-check.git","type":"git"},"_npmVersion":"11.6.3","description":"Checks existence of E-Mail DNS MX records.","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.1","vitest":"^4.0.13","cpy-cli":"^6.0.0","@vitest/ui":"^4.0.13","typescript":"^5.4.2","@types/node":"^20.6.2","@biomejs/biome":"^2.3.7"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check_2.0.0_1764033081645_0.656692727386692","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"email-domain-check","version":"2.0.1","keywords":["email","existence","validation","validator","domain","mx","mail-exchange","mail","smtp","verify","validate","validate-email-hostname","mailcheck","email-checker","is-open-mail","validate-email-hostname","email-deep-validator","enhanced-email-deep-validator","mail-confirm","legit","email-mx-validator","email-full-validate"],"author":{"name":"Mehmet Kozan"},"license":"MIT","_id":"email-domain-check@2.0.1","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://github.com/mehmet-kozan/email-domain-check","bugs":{"url":"https://github.com/mehmet-kozan/email-domain-check/issues"},"dist":{"shasum":"95d73198651cba018dddbaa4b0f290758148a2b9","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-2.0.1.tgz","fileCount":10,"integrity":"sha512-uzFn7U+50iDv/i31QdvjHwvt/508Ogg47cpXxEQFFYeh2tw4pyoykl2JdtJJJZgy96T4daX6LznCK81h8kRo2g==","signatures":[{"sig":"MEQCIGAlEGLCJPplEtzX3WO5+jNwCEKSYFng8mSi+YJhj+u0AiAzfrfX7DmICJuwn9F4+X6Q1mEJrLHc3uXGD0v2jO/7KA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5784},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"6446bbc9f595c6ba6d8d3822c11335db4b68ac94","scripts":{"lint":"biome lint .","test":"vitest run","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"rimraf dist","format":"biome format --write .","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","postbuild":"cpy  ./package.cjs.json ./dist/cjs/ --rename=package.json","format:all":"biome check --write .","format:check":"biome check ."},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://github.com/mehmet-kozan/email-domain-check.git","type":"git"},"_npmVersion":"11.6.3","description":"Checks existence of E-Mail DNS MX records.","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.1","vitest":"^4.0.13","cpy-cli":"^6.0.0","@vitest/ui":"^4.0.13","typescript":"^5.4.2","@types/node":"^20.6.2","@biomejs/biome":"^2.3.7"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check_2.0.1_1764033887419_0.3289408169454502","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"email-domain-check","version":"2.0.2","keywords":["email","existence","validation","validator","domain","mx","mail-exchange","mail","smtp","verify","validate","validate-email-hostname","mailcheck","email-checker","is-open-mail","validate-email-hostname","email-deep-validator","enhanced-email-deep-validator","mail-confirm","legit","email-mx-validator","email-full-validate"],"author":{"name":"Mehmet Kozan"},"license":"MIT","_id":"email-domain-check@2.0.2","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://github.com/mehmet-kozan/email-domain-check","bugs":{"url":"https://github.com/mehmet-kozan/email-domain-check/issues"},"dist":{"shasum":"a87cc60109a1e28ad5ab1be6c970495c49b9c8ac","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-2.0.2.tgz","fileCount":10,"integrity":"sha512-WCdF+1xrCAeDXU+eVb1nauhXu4ePtOrWcydGHHcyglrMl8DjSZgNPvirh9yupUEVttyvp0YzEvpKhwnPiPhATg==","signatures":[{"sig":"MEUCIEwGbArDT+IuGWtL9uyhpXkD90EC6/5GgGc/J7Hpr1k8AiEA1UZPZ7ZpF961Qxfz7pPfyoLVkjB4HK9j8JDuUKDZpsE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":5784},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"8c7e8cb01d0a47f3240729502774581c9b1f26ad","scripts":{"lint":"biome lint .","test":"vitest run","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"rimraf dist","format":"biome format --write .","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","postbuild":"cpy  ./package.cjs.json ./dist/cjs/ --rename=package.json","format:all":"biome check --write .","format:check":"biome check ."},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://github.com/mehmet-kozan/email-domain-check.git","type":"git"},"_npmVersion":"11.6.3","description":"Checks existence of E-Mail DNS MX records.","directories":{},"_nodeVersion":"22.20.0","_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.1","vitest":"^4.0.13","cpy-cli":"^6.0.0","@vitest/ui":"^4.0.13","typescript":"^5.4.2","@types/node":"^20.6.2","@biomejs/biome":"^2.3.7"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check_2.0.2_1764034084543_0.7303133610015378","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"email-domain-check","version":"2.0.3","keywords":["email","existence","validation","validator","domain","mx","mail-exchange","mail","smtp","verify","validate","validate-email-hostname","mailcheck","email-checker","is-open-mail","validate-email-hostname","email-deep-validator","enhanced-email-deep-validator","mail-confirm","legit","email-mx-validator","email-full-validate"],"author":{"name":"Mehmet Kozan"},"license":"MIT","_id":"email-domain-check@2.0.3","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://github.com/mehmet-kozan/email-domain-check","bugs":{"url":"https://github.com/mehmet-kozan/email-domain-check/issues"},"dist":{"shasum":"2c5b1377cce25b2e4405f9f72f3a871c0d4273a3","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-2.0.3.tgz","fileCount":28,"integrity":"sha512-Cp/hLmGk7JtR1kgCPvRbIu1YF7VPywhxHvy/lArhEGZ9MHCRKyTIrVhMiMyzOBmBPRHAsj0aF3bz/r2/zjyBdw==","signatures":[{"sig":"MEUCIQDbipsnWrI4vtOBJ4BLX3UQUm13CuL9gfjkaXn8ELRZUwIgPDQOHWv24V0tHOhcHgqN2uucgQ/8hN2hMxPrPdQORZ4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":80739},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"c646223ba8f72526e414ef13a125addae535df75","scripts":{"lint":"biome lint .","test":"vitest run","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"rimraf dist","format":"biome format --write .","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","postbuild":"cpy  ./package.cjs.json ./dist/cjs/ --rename=package.json","format:all":"biome check --write .","format:check":"biome check ."},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://github.com/mehmet-kozan/email-domain-check.git","type":"git"},"_npmVersion":"11.6.3","description":"Checks existence of E-Mail DNS MX records.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"tldts":"^7.0.19"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.1","vitest":"^4.0.13","cpy-cli":"^6.0.0","dkim-key":"^2.0.0","parse-spf":"^1.0.1-1","@vitest/ui":"^4.0.13","typescript":"^5.4.2","@types/node":"^20.6.2","@biomejs/biome":"^2.3.7","dmarc-solution":"^1.2.5"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check_2.0.3_1764225993315_0.31063611621681564","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"email-domain-check","version":"2.0.4","keywords":["email","dkim","spf","arc","dmarc","bimi","mta-sts","email-domain","mx","smtp","mta","email-validation","validate-email","mailcheck","email-checker","email-validator"],"author":{"name":"Mehmet Kozan"},"license":"MIT","_id":"email-domain-check@2.0.4","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"homepage":"https://github.com/mehmet-kozan/email-domain-check","bugs":{"url":"https://github.com/mehmet-kozan/email-domain-check/issues"},"dist":{"shasum":"5325a62b9e06fd41e963b52cfb7c4446e3ce7066","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-2.0.4.tgz","fileCount":28,"integrity":"sha512-GDuPCaOhsALp3NW7B+FKnzHg+b8i/AAMMMd/HSsa1YW4onLsKko2TzsFdFrGWgBZaBo3SulO+KbflLSxPamj9w==","signatures":[{"sig":"MEUCIBf7c1ANd1N2Ro3o+0SDWCzZ2X0LsZYUeFs0yG6vsh7DAiEA0pQ9RmcilcXFzf8lFu4i4emlZBciepfAMKREDLK1SpU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":81852},"main":"dist/cjs/index.js","type":"module","types":"dist/types/index.d.ts","module":"dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"gitHead":"21af24da3bff55ad81f5b1117a6d575dcfe650bc","scripts":{"lint":"biome lint .","test":"vitest run","build":"npm run clean && npm run build:esm && npm run build:cjs","clean":"rimraf dist","format":"biome format --write .","build:cjs":"tsc -p tsconfig.cjs.json","build:esm":"tsc -p tsconfig.esm.json","postbuild":"cpy  ./package.cjs.json ./dist/cjs/ --rename=package.json","format:all":"biome check --write .","format:check":"biome check ."},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"repository":{"url":"git+https://github.com/mehmet-kozan/email-domain-check.git","type":"git"},"_npmVersion":"11.6.3","description":"Comprehensive email domain validation library with DNS, MX, SMTP, DKIM, DMARC and MTA-STS support.","directories":{},"_nodeVersion":"22.20.0","dependencies":{"tldts":"^7.0.19"},"_hasShrinkwrap":false,"devDependencies":{"rimraf":"^5.0.1","vitest":"^4.0.13","cpy-cli":"^6.0.0","dkim-key":"^2.0.0","parse-spf":"^1.0.1-1","@vitest/ui":"^4.0.13","typescript":"^5.4.2","@types/node":"^20.6.2","@biomejs/biome":"^2.3.7","dmarc-solution":"^1.2.5"},"_npmOperationalInternal":{"tmp":"tmp/email-domain-check_2.0.4_1764234897298_0.7974622448740261","host":"s3://npm-registry-packages-npm-production"}},"2.0.5":{"name":"email-domain-check","version":"2.0.5","description":"Comprehensive email domain validation library with DNS, MX, SMTP, DKIM, DMARC and MTA-STS support.","type":"module","main":"dist/cjs/index.js","module":"dist/esm/index.js","types":"dist/types/index.d.ts","exports":{".":{"types":"./dist/types/index.d.ts","import":"./dist/esm/index.js","require":"./dist/cjs/index.js"},"./package.json":"./package.json"},"keywords":["email","dkim","spf","arc","dmarc","bimi","mta-sts","email-domain","mx","smtp","mta","email-validation","validate-email","mailcheck","email-checker","email-validator"],"scripts":{"test":"vitest run","build:esm":"tsc -p tsconfig.esm.json","build:cjs":"tsc -p tsconfig.cjs.json","build":"npm run clean && npm run build:esm && npm run build:cjs","postbuild":"cpy  ./package.cjs.json ./dist/cjs/ --rename=package.json","clean":"rimraf dist","lint":"biome lint .","format":"biome format --write .","format:all":"biome check --write .","format:check":"biome check ."},"dependencies":{"tldts":"^7.0.19"},"devDependencies":{"@biomejs/biome":"^2.3.7","@types/node":"^24.10.1","vitest":"^4.0.14","@vitest/ui":"^4.0.14","cpy-cli":"^6.0.0","dkim-key":"^2.0.0","dmarc-solution":"^1.2.5","parse-spf":"^1.0.1-1","rimraf":"^6.1.2","tsx":"^4.20.6","typescript":"^5.9.3"},"homepage":"https://github.com/mehmet-kozan/email-domain-check","bugs":{"url":"https://github.com/mehmet-kozan/email-domain-check/issues"},"repository":{"type":"git","url":"git+https://github.com/mehmet-kozan/email-domain-check.git"},"author":{"name":"Mehmet Kozan"},"license":"MIT","engines":{"node":">=18"},"gitHead":"ab36a7e740e77c1a998c84766f8ecd3bd0c5d5fe","_id":"email-domain-check@2.0.5","_nodeVersion":"22.20.0","_npmVersion":"11.6.3","dist":{"integrity":"sha512-hkDMJuqhtnKX9M6qBD1I7/Q4V++oYQybhqKkuOXh19HoCgNtytivXMK4gtuIgdA8q0a3i6O4leh1QDm7DrkhFw==","shasum":"dddc0bbd5c781cb478ff5049dc375bfed4e341d3","tarball":"https://registry.npmjs.org/email-domain-check/-/email-domain-check-2.0.5.tgz","fileCount":28,"unpackedSize":96088,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCqjfUVgvz1eMM3+Y6LEImYPd9hXa1vzAlVtEHTBmkWiAIhAMy11pRgU9r1Ia/xQpQ9M8JntepSHID5k8ImIMJzxmPH"}]},"_npmUser":{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"},"directories":{},"maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/email-domain-check_2.0.5_1764252324683_0.5303076576158507"},"_hasShrinkwrap":false}},"time":{"created":"2017-12-03T04:45:15.590Z","modified":"2025-11-27T14:05:25.027Z","0.1.0":"2017-12-03T04:45:15.590Z","1.1.0":"2017-12-15T07:54:37.616Z","1.1.3":"2017-12-15T14:19:42.719Z","1.1.4":"2017-12-29T15:24:22.330Z","1.1.5":"2025-11-19T03:42:51.983Z","2.0.0":"2025-11-25T01:11:21.856Z","2.0.1":"2025-11-25T01:24:47.612Z","2.0.2":"2025-11-25T01:28:04.806Z","2.0.3":"2025-11-27T06:46:33.529Z","2.0.4":"2025-11-27T09:14:57.514Z","2.0.5":"2025-11-27T14:05:24.854Z"},"bugs":{"url":"https://github.com/mehmet-kozan/email-domain-check/issues"},"author":{"name":"Mehmet Kozan"},"license":"MIT","homepage":"https://github.com/mehmet-kozan/email-domain-check","keywords":["email","dkim","spf","arc","dmarc","bimi","mta-sts","email-domain","mx","smtp","mta","email-validation","validate-email","mailcheck","email-checker","email-validator"],"repository":{"type":"git","url":"git+https://github.com/mehmet-kozan/email-domain-check.git"},"description":"Comprehensive email domain validation library with DNS, MX, SMTP, DKIM, DMARC and MTA-STS support.","maintainers":[{"name":"mehmet.kozan","email":"mehmet.kozan@live.com"}],"readme":"<div align=\"center\"> \n\n# email-domain-check\n\n**A comprehensive email domain validation library.** \n**Supports DNS, MX, SMTP, DKIM, DMARC, and MTA-STS.**  \n\n</div> \n\n<div align=\"center\">  \n\n[![version](https://img.shields.io/npm/v/email-domain-check.svg)](https://www.npmjs.org/package/email-domain-check)\n[![downloads](https://img.shields.io/npm/dt/email-domain-check.svg)](https://www.npmjs.org/package/email-domain-check)\n[![node](https://img.shields.io/node/v/email-domain-check.svg)](https://nodejs.org/)  \n\n</div>\n\n<br />\n\n## Features\n\n-  MX record validation\n-  SMTP server connection testing\n-  DKIM record lookup\n-  DMARC policy validation\n-  MTA-STS support (RFC 8461)\n-  IPv4/IPv6 support\n-  Local IP blocking\n-  DNS failover resolvers\n-  Punycode/IDN support\n-  TypeScript support\n\n## Installation\n\n```bash\nnpm install email-domain-check\n# or\npnpm add email-domain-check\n# or\nyarn add email-domain-check\n# or\nbun add email-domain-check\n```\n\n## Usage (ESM / TypeScript)  \n\n```ts\nimport { Address, DomainChecker } from 'email-domain-check';\n\nconst checker = new DomainChecker();\n\n// Check if domain has MX records\nconst hasMx = await checker.hasMxRecord('user@gmail.com');\nconsole.log('Has MX:', hasMx);\n\n// Get MX records with priority\nconst mxRecords = await checker.getMxRecord({\n\ttarget: 'gmail.com', // string, URL or Address\n\tuseCache: false,\n\tpreferDomainNS: false, // use authoritative ns `ns1.google.com`\n});\nconsole.log('MX Records:', mxRecords);\n// [{ exchange: 'gmail-smtp-in.l.google.com', priority: 5 }]\n\n// use url, domain or email\nconst url = new URL('https://gmail.com');\nconst addr_01 = Address.loadFromTarget(url);\nconst addr_02 = Address.loadFromTarget('gmail.com');\nconst addr_03 = Address.loadFromTarget('user@gmail.com');\nconst addr_04 = new Address('mehmet.kozan@gmail.com'); // email or domain\n\nconsole.log('Has MX 01:', await checker.hasMxRecord(addr_01));\nconsole.log('Has MX 02:', await checker.hasMxRecord(addr_02));\nconsole.log('Has MX 03:', await checker.hasMxRecord(addr_03));\nconsole.log('Has MX 04:', await checker.hasMxRecord(addr_04));\n// or direct use\nconsole.log('Has MX 05:', await checker.hasMxRecord(new URL('https://gmail.com')));\nconsole.log('Has MX 06:', await checker.hasMxRecord('gmail.com'));\nconsole.log('Has MX 07:', await checker.hasMxRecord('user@gmail.com'));\nconsole.log('Has MX 08:', await checker.hasMxRecord('mehmet.kozan@gmail.com'));\n```\n\n## Usage (CommonJS)\n\n```js\nconst { DomainChecker } = require('email-domain-check');\n\nasync function run() {\n\tconst checker = new DomainChecker();\n\n\t// Check if domain has MX records\n\tconst hasMx = await checker.hasMxRecord('user@gmail.com');\n\tconsole.log('Has MX:', hasMx);\n\n\t// Get MX records with priority\n\tconst mxRecords = await checker.getMxRecord({\n\t\ttarget: 'gmail.com', // string, URL or Address\n\t\tuseCache: false,\n\t\tpreferDomainNS: false, // use authoritative ns `ns1.google.com`\n\t});\n\tconsole.log('MX Records:', mxRecords);\n\t// [{ exchange: 'gmail-smtp-in.l.google.com', priority: 5 }]\n}\n\nrun();\n```\n\n## Advance Usage\n\n#### Get Records\n```ts\nimport { DomainChecker } from 'email-domain-check';\n\nconst checker = new DomainChecker();\n\n// Get SPF record\nconst spf = await checker.getSpfRecord({\n\ttarget: 'mehmet.kozan@cambly.com',\n\tdkimSelector: 'k1',\n});\nconsole.log('SPF:', spf);\n\n// Get DKIM record\nconst dkim = await checker.getDkimRecord({\n\ttarget: 'mehmet.kozan@cambly.com',\n\tdkimSelector: 'k1',\n});\nconsole.log('DKIM:', dkim);\n\n// Get DMARC record\nconst dmarc = await checker.getDmarcRecord({\n\ttarget: 'gmail.com',\n});\nconsole.log('DMARC:', dmarc);\n\n// Get MTA-STS record\nconst sts = await checker.getStsRecord({\n\ttarget: 'user@gmail.com',\n});\nconsole.log('MTA-STS:', sts);\n\n// Get custom records\nconst customRecords = await checker.getCustomRecords({\n\ttarget: 'user@gmail.com',\n});\nconsole.log('Custom Records:', customRecords);\n\n// Get custom kv record\nconst kvRecord = await checker.getCustomKVRecord(\n\t{\n\t\ttarget: 'user@gmail.com',\n\t},\n\t'yahoo-verification-key',\n);\nconsole.log('KV Record:', kvRecord);\n\n// Get custom kv record\nconst allKVRecord = await checker.getAllKVRecords({\n\ttarget: 'user@gmail.com',\n});\nconsole.log('All KV Records:', allKVRecord);\n```\n\n#### Get Authoritative Name Servers\n\n```ts\nimport { DomainChecker } from \"email-domain-check\";\nconst checker = new DomainChecker();\n\n// Get name servers\nconst nameServers = await checker.getNameServers(\"gmail.com\");\nconsole.log(\"Name Servers:\", nameServers);\n\n\n```\n\n#### Get SMTP Connection\n```ts\nimport { DomainChecker } from \"email-domain-check\";\n\nconst checker = new DomainChecker();\n// Test or Get SMTP connection for mail sending\nconst socket = await checker.getSmtpConnection(\"user@example.com\");\nif (socket) {\n  console.log(\"SMTP connection successful\");\n  socket.end();\n}\n```\n\n#### MTA-STS Policy\n```ts\nimport { getMtaStsPolicy, isMxAllowed } from \"email-domain-check\";\n\nconst policy = await getMtaStsPolicy(\"gmail.com\");\nif (policy) {\n  console.log(\"MTA-STS Policy:\", policy);\n  // { version: 'STSv1', mode: 'enforce', mx: ['*.google.com'], max_age: 86400 }\n  \n  const allowed = isMxAllowed(\"alt1.gmail-smtp-in.l.google.com\", policy);\n  console.log(\"MX Allowed:\", allowed);\n}\n```\n\n#### Address Parsing and Validation\n```ts\nimport {Address } from \"email-domain-check\";\n// Address parsing and validation\nconst addr = Address.loadFromTarget(\"user@example.com\");\nconsole.log(\"Hostname:\", addr.hostname); // example.com\nconsole.log(\"User:\", addr.user); // user\nconsole.log(\"Is IP:\", addr.isIP); // false\nconsole.log(\"Is Local:\", addr.isLocal); // false\nconsole.log(\"Has Punycode:\", addr.hasPunycode); // false\n\n// Parse from URL\nconst url = new URL(\"https://example.com/path\");\nconst urlAddr = Address.loadFromTarget(url);\nconsole.log(\"From URL:\", urlAddr.hostname); // example.com\n\n// IP address validation\nconst Addr_01 = new Address(\"192.168.1.1\");\nconsole.log(\"Is Local IP:\", Addr_01.isLocal); // true\n\nconst Addr_02 = new Address(\"8.8.8.8\");\nconsole.log(\"Is Local IP:\", Addr_02.isLocal); // false\n```\n\n## API\n\n### DomainChecker Class\n\n#### Constructor Options\n\n```ts\ninterface DomainCheckerOptions {\n  server?: string[];            // Custom DNS servers\n  dkimSelector?: string;        // Default: 'default'\n  useCache?: boolean;           // Enable DNS caching\n  cacheTTL?: number;            // Cache TTL in ms\n  smtpTimeout?: number;         // Default: 10000\n  dnsTimeout?: number;          // Default: 5000\n  httpTimeout?: number;         // Default: 8000\n  socketIdleTimeout?: number;   // RFC 5321 socket idle timeout\n  useDomainNS?: boolean;        // Query domain's authoritative nameservers (Default: false)\n  useMtaSts?: boolean;          // Enable MTA-STS related lookups (Default: false)\n  ignoreIPv6?: boolean;         // Ignore IPv6 addresses\n  tries?: number;               // Default: 3\n  failoverServers?: string[][]; // Default: [['1.1.1.1','1.0.0.1'], ['8.8.8.8','8.8.4.4']]\n  blockLocalIPs?: boolean;      // Block local/private IPs (Default: false)\n  deliveryPort?: number;        // Default: 25\n}\n```\n\n#### Methods\n\n- `hasMxRecord(target: Target): Promise<boolean>` - Check if domain has MX records\n- `getMxRecord(options: ResolveOptions): Promise<MxRecord[]>` - Get MX records\n- `getSmtpConnection(target: Target): Promise<Socket | null>` - Test SMTP connection\n- `getTxtRecord(options: ResolveOptions): Promise<TXTResult | null>` - Get all TXT records parsed\n- `getSpfRecord(options: ResolveOptions): Promise<SPF1Record | null>` - Get SPF record\n- `getDkimRecord(options: ResolveOptions): Promise<DKIM1Record | null>` - Get DKIM record\n- `getDmarcRecord(options: ResolveOptions): Promise<DMARC1Record | null>` - Get DMARC record\n- `getStsRecord(options: ResolveOptions): Promise<STSv1Record | null>` - Get MTA-STS record\n- `getCustomRecords(options: ResolveOptions): Promise<CustomRecord[] | null>` - Get custom TXT records\n- `getCustomKVRecord(options: ResolveOptions, key: string): Promise<CustomKVRecord | null>` - Get specific key-value record\n- `getAllKVRecords(options: ResolveOptions): Promise<CustomKVRecord[] | null>` - Get all key-value records\n- `getNameServers(target: Target): Promise<string[]>` - Get authoritative name servers\n\n### Address Class\n\n#### Constructor\n\n- `new Address(mailOrHost: string) - Create new Address instance`\n\n```ts\nimport {Address } from \"email-domain-check\";\nconst addr_01 = new Address('user@gmail.com'); // string email or domain\nconst addr_02 = new Address('gmail.com'); \n\n```\n\n#### Static Constructor Method\n\n- `Address.loadFromTarget(target: string | URL | Address): Address` - Parse email/domain/URL\n\n#### Properties\n\n- `source: string` - Original input\n- `hostname: string` - Domain name or IP\n- `user?: string` - Email local part (if email)\n- `ipKind: IPKind` - IP type (None, IPv4, IPv6)\n- `isIP: boolean` - Is an IP address\n- `isLocal: boolean` - Is local/private IP\n- `hasPunycode: boolean` - Contains punycode\n\n\n\n","readmeFilename":"README.md"}