{"_id":"@ankaboot.io/imap-autoconfig","_rev":"9-64da1ade31c1000651e7c93efcb30cf3","name":"@ankaboot.io/imap-autoconfig","dist-tags":{"latest":"0.2.0"},"versions":{"0.0.1":{"name":"@ankaboot.io/imap-autoconfig","version":"0.0.1","keywords":["imap","auto-detect","auto-config"],"author":{"name":"Ankaboot.io"},"license":"MIT","_id":"@ankaboot.io/imap-autoconfig@0.0.1","maintainers":[{"name":"zieddhf","email":"zied@ankaboot.io"},{"name":"maleksal","email":"malek@ankaboot.io"}],"homepage":"https://github.com/ankaboot-source/imap-autoconfig#readme","bugs":{"url":"https://github.com/ankaboot-source/imap-autoconfig/issues"},"dist":{"shasum":"d53552196b87bf17ec2100daa83ba3de564b048b","tarball":"https://registry.npmjs.org/@ankaboot.io/imap-autoconfig/-/imap-autoconfig-0.0.1.tgz","fileCount":13,"integrity":"sha512-Vr0SDtXau3V7+DDmeXtVQ5WBTb1THjSTPmB4JZxWCcjBhkvH3BmnW/XeaUNxT3iF2gSBJqA9hfpagLbq/zh9RQ==","signatures":[{"sig":"MEQCIACub6mINc47YYV8cBEzpZ4+85BB6sfJQeEpln+lGMAyAiBLacgnQSaA3uxCKrbA980BrvgNAaLZiv2GmNs/J9bWBg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45237},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"86d3a79e03f810f13eb5d69fe9d0b6ea342e0c82","scripts":{"lint":"eslint --fix src","test":"jest","build":"tsup"},"_npmUser":{"name":"maleksal","email":"malek@ankaboot.io"},"repository":{"url":"git+https://github.com/ankaboot-source/imap-autoconfig.git"},"_npmVersion":"8.6.0","description":"Detect IMAP configuration for an e-mail address","directories":{},"_nodeVersion":"18.0.0","dependencies":{"imap":"^0.8.19","tsup":"^8.0.2","axios":"^1.6.8","fast-xml-parser":"^4.3.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","globals":"^15.2.0","ts-jest":"^29.1.2","jest-cli":"^29.7.0","@eslint/js":"^9.2.0","typescript":"^5.4.5","@types/imap":"^0.8.40","@types/jest":"^29.5.12","@types/node":"^20.12.8","@types/node-imap":"^0.9.3","typescript-eslint":"^7.9.0"},"_npmOperationalInternal":{"tmp":"tmp/imap-autoconfig_0.0.1_1716285255951_0.5066824089615449","host":"s3://npm-registry-packages"}},"0.0.2":{"name":"@ankaboot.io/imap-autoconfig","version":"0.0.2","keywords":["imap","auto-detect","auto-config"],"author":{"name":"Ankaboot.io"},"license":"MIT","_id":"@ankaboot.io/imap-autoconfig@0.0.2","maintainers":[{"name":"zieddhf","email":"zied@ankaboot.io"},{"name":"maleksal","email":"malek@ankaboot.io"}],"homepage":"https://github.com/ankaboot-source/imap-autoconfig#readme","bugs":{"url":"https://github.com/ankaboot-source/imap-autoconfig/issues"},"dist":{"shasum":"c0bce087faf950320c2efa351afa57999b657757","tarball":"https://registry.npmjs.org/@ankaboot.io/imap-autoconfig/-/imap-autoconfig-0.0.2.tgz","fileCount":14,"integrity":"sha512-/M823Vm8AoNEmdIZbPaInndjTBVlBPEEUiiI1ARLvWY3HsnBNALYCcFzImwgyvEiYmzlqXedo+6ULpmVBNpnSw==","signatures":[{"sig":"MEQCIC7Hxizj1Gh8f7tRBb+STen90CKtG9k3hxIOJdURDFuxAiAiu84acIq9tOxhUTEr0UB6ZFoseocqlXvdj15ZgHHlng==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46482},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"354db68ea2d86bb569596c590e9588ae6b99c6ce","scripts":{"lint":"eslint --fix src","test":"jest","build":"tsup"},"_npmUser":{"name":"maleksal","email":"malek@ankaboot.io"},"repository":{"url":"git+https://github.com/ankaboot-source/imap-autoconfig.git"},"_npmVersion":"8.6.0","description":"Detect IMAP configuration for an e-mail address","directories":{},"_nodeVersion":"18.0.0","dependencies":{"imap":"^0.8.19","tsup":"^8.0.2","axios":"^1.6.8","fast-xml-parser":"^4.3.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","globals":"^15.2.0","ts-jest":"^29.1.2","jest-cli":"^29.7.0","@eslint/js":"^9.2.0","typescript":"^5.4.5","@types/imap":"^0.8.40","@types/jest":"^29.5.12","@types/node":"^20.12.8","@types/node-imap":"^0.9.3","typescript-eslint":"^7.9.0"},"_npmOperationalInternal":{"tmp":"tmp/imap-autoconfig_0.0.2_1716310733589_0.5005484020404718","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@ankaboot.io/imap-autoconfig","version":"0.1.1","keywords":["imap","auto-detect","auto-config"],"author":{"name":"Ankaboot.io"},"license":"MIT","_id":"@ankaboot.io/imap-autoconfig@0.1.1","maintainers":[{"name":"zieddhf","email":"zied@ankaboot.io"},{"name":"maleksal","email":"malek@ankaboot.io"}],"homepage":"https://github.com/ankaboot-source/imap-autoconfig#readme","bugs":{"url":"https://github.com/ankaboot-source/imap-autoconfig/issues"},"dist":{"shasum":"0ce77e8b0af3c45562c722544baf1d7926bca40c","tarball":"https://registry.npmjs.org/@ankaboot.io/imap-autoconfig/-/imap-autoconfig-0.1.1.tgz","fileCount":14,"integrity":"sha512-yh2/K3v8YZSPmpwR0cCqwlXufiRGut+1yQLIYcjcSw0zZOXaqIYxtf9hK/ueyvAybCnYQtsjtM+TR0j/xgz9JQ==","signatures":[{"sig":"MEYCIQD5nP9pXO5Egf8u2L0YYZ0U7PmZNV2XqRXHflHQgrmg7wIhAJ45/aWL0jNc+fNnTlhiZ5zPBun8a6LtAh9CaQ6zwdDl","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47070},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"232572c45cc7c5ec89e4b861beae11f71c27bc9a","scripts":{"lint":"eslint --fix src","test":"jest","build":"tsup"},"_npmUser":{"name":"maleksal","email":"malek@ankaboot.io"},"repository":{"url":"git+https://github.com/ankaboot-source/imap-autoconfig.git"},"_npmVersion":"9.2.0","description":"Detect IMAP configuration for an e-mail address","directories":{},"_nodeVersion":"18.19.1","dependencies":{"imap":"^0.8.19","tsup":"^8.0.2","axios":"^1.6.8","fast-xml-parser":"^4.3.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","globals":"^15.2.0","ts-jest":"^29.1.2","jest-cli":"^29.7.0","@eslint/js":"^9.2.0","typescript":"^5.4.5","@types/imap":"^0.8.40","@types/jest":"^29.5.12","@types/node":"^20.17.6","@types/node-imap":"^0.9.3","typescript-eslint":"^7.9.0"},"_npmOperationalInternal":{"tmp":"tmp/imap-autoconfig_0.1.1_1730890616275_0.7952627947678952","host":"s3://npm-registry-packages"}},"0.1.2":{"name":"@ankaboot.io/imap-autoconfig","version":"0.1.2","keywords":["imap","auto-detect","auto-config"],"author":{"name":"Ankaboot.io"},"license":"MIT","_id":"@ankaboot.io/imap-autoconfig@0.1.2","maintainers":[{"name":"maleksal","email":"malek@ankaboot.io"},{"name":"zieddhf","email":"zied@ankaboot.io"}],"homepage":"https://github.com/ankaboot-source/imap-autoconfig#readme","bugs":{"url":"https://github.com/ankaboot-source/imap-autoconfig/issues"},"dist":{"shasum":"7272b83c12dcba1186220aa1edcfb7083698893b","tarball":"https://registry.npmjs.org/@ankaboot.io/imap-autoconfig/-/imap-autoconfig-0.1.2.tgz","fileCount":14,"integrity":"sha512-u3g+yFv1SZ/TMCF13149/bxgFNB/8Zky+xzdrSKGaDvnkfxXzBb8rDo1wR8KU8SNKnwXY6Z5ykugxR2YCuZEQQ==","signatures":[{"sig":"MEUCIQCj+CLQKnia0p9k3NMqNyZSU0OrDVC/bEXXWLuJXj7EKgIgZmaUPc6d6FcbRHHuEm0Y3j7foi6+MskzBuQGtzgYzDA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47115},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"c896fa46b5976d1e3729446651f823e4b13902f5","scripts":{"lint":"eslint --fix src","test":"jest","build":"tsup"},"_npmUser":{"name":"maleksal","email":"malek@ankaboot.io"},"overrides":{"semver":"^7.6.3"},"repository":{"url":"git+https://github.com/ankaboot-source/imap-autoconfig.git"},"_npmVersion":"10.9.0","description":"Detect IMAP configuration for an e-mail address","directories":{},"_nodeVersion":"22.12.0","dependencies":{"imap":"^0.8.19","tsup":"^8.0.2","axios":"^1.6.8","fast-xml-parser":"^4.3.6"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","eslint":"^8.57.0","globals":"^15.2.0","ts-jest":"^29.1.2","jest-cli":"^29.7.0","@eslint/js":"^9.2.0","typescript":"^5.4.5","@types/imap":"^0.8.40","@types/jest":"^29.5.12","@types/node":"^20.17.6","@types/node-imap":"^0.9.3","typescript-eslint":"^7.9.0"},"_npmOperationalInternal":{"tmp":"tmp/imap-autoconfig_0.1.2_1736170155464_0.37930461187098374","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@ankaboot.io/imap-autoconfig","description":"Detect IMAP configuration for an e-mail address","version":"0.2.0","main":"./dist/index.js","module":"./dist/index.mjs","types":"./dist/index.d.ts","repository":{"url":"git+https://github.com/ankaboot-source/imap-autoconfig.git"},"scripts":{"lint":"eslint --fix src","build":"tsup","test":"jest"},"keywords":["imap","auto-detect","auto-config"],"author":{"name":"Ankaboot.io"},"license":"MIT","dependencies":{"axios":"^1.8.4","fast-xml-parser":"^5.0.9","imapflow":"^1.0.184","tsup":"^8.4.0"},"devDependencies":{"@eslint/js":"^9.23.0","@types/imap":"^0.8.42","@types/imapflow":"^1.0.20","@types/jest":"^29.5.14","@types/node":"^22.13.14","eslint":"^9.23.0","globals":"^16.0.0","jest":"^29.7.0","jest-cli":"^29.7.0","ts-jest":"^29.3.0","typescript":"^5.8.2","typescript-eslint":"^8.28.0"},"publishConfig":{"access":"public"},"_id":"@ankaboot.io/imap-autoconfig@0.2.0","gitHead":"be55154c8cea308a28e7a62eda3180286d33b837","bugs":{"url":"https://github.com/ankaboot-source/imap-autoconfig/issues"},"homepage":"https://github.com/ankaboot-source/imap-autoconfig#readme","_nodeVersion":"22.12.0","_npmVersion":"10.9.0","dist":{"integrity":"sha512-CicdNMpNzv2Q1NSwpCDLs1zRwXeuOfN/xGJdlU7gZKZLB7/yB8wm8DBJVDiHJtBJJEWY2ARJP7vlgHNWgM3Qiw==","shasum":"eeb8477f7c605db52b0f244586058adb6278c711","tarball":"https://registry.npmjs.org/@ankaboot.io/imap-autoconfig/-/imap-autoconfig-0.2.0.tgz","fileCount":14,"unpackedSize":48078,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCxi70n/BblKPUMtrd94drpX8r/LfT8Mo8BOvbEnKHkWwIgPRSzBupW2l5ckU3uDwOeKF9M/IV4RSKPb1GNUYo++rw="}]},"_npmUser":{"name":"maleksal","email":"malek@ankaboot.io"},"directories":{},"maintainers":[{"name":"maleksal","email":"malek@ankaboot.io"},{"name":"zieddhf","email":"zied@ankaboot.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/imap-autoconfig_0.2.0_1743190919512_0.4209247224362578"},"_hasShrinkwrap":false}},"time":{"created":"2024-05-21T09:54:15.851Z","modified":"2025-03-28T19:41:59.957Z","1.0.0":"2024-05-17T12:09:08.320Z","0.0.1":"2024-05-21T09:54:16.097Z","0.0.2":"2024-05-21T16:58:53.842Z","0.1.0":"2024-11-06T10:13:33.796Z","0.1.1":"2024-11-06T10:56:56.451Z","0.1.2":"2025-01-06T13:29:15.638Z","0.2.0":"2025-03-28T19:41:59.749Z"},"bugs":{"url":"https://github.com/ankaboot-source/imap-autoconfig/issues"},"author":{"name":"Ankaboot.io"},"license":"MIT","homepage":"https://github.com/ankaboot-source/imap-autoconfig#readme","keywords":["imap","auto-detect","auto-config"],"repository":{"url":"git+https://github.com/ankaboot-source/imap-autoconfig.git"},"description":"Detect IMAP configuration for an e-mail address","maintainers":[{"name":"maleksal","email":"malek@ankaboot.io"},{"name":"zieddhf","email":"zied@ankaboot.io"}],"readme":"# imap-autoconfig\n\nDetects e-mail connection settings for a given email address. \n\n## Installation\n\nInstall the package using NPM:\n\n```bash\nnpm i @ankaboot.io/imap-autoconfig\n```\n\n## Usage\n\n```tsx\nimport IMAPSettingsDetector from 'imap-autoconfig';\n\nconst detector = new IMAPSettingsDetector();\n\nasync function getIMAPSettings(email) {\n    try {\n        const settings = await detector.detect(email);\n        console.log(settings);\n    } catch (error) {\n        console.error('Error detecting IMAP settings:', error);\n    }\n}\n\nconst email = 'example@example.com';\ngetIMAPSettings(email);\n```\n\n**Response Data Object:**\n\nThe response from the `detect` method is an object with the following properties:\n\n- **host**: The IMAP server hostname.\n- **port**: The port number to connect to the host.\n- **secure**: A boolean indicating if the connection should use SSL (typically true for port 993 and false for port 143).\n\n**Example Response:**\n\n```json\n{ \n    \"host\": \"imap.mail.yahoo.com\",\n    \"port\": 993,\n    \"secure\": true\n}\n```\n\n## Credits\n\nThis project is a fork of the original [imap-autoconfig](https://github.com/andris9/imap-autoconfig) created by [Andris Reinman](https://github.com/andris9). \n\n## License\n\nThis project is licensed under the MIT License.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request on GitHub.\n\n\n\n## Support\n\nIf you encounter any issues or have questions, please open an issue on GitHub.\n","readmeFilename":"README.md"}