{"id":13705294,"url":"https://github.com/devmehq/email-validator-js","last_synced_at":"2025-05-05T16:32:02.631Z","repository":{"id":37066749,"uuid":"426956788","full_name":"devmehq/email-validator-js","owner":"devmehq","description":"Verify email address checking MX records, and SMTP connection, check for disposable email addresses and free email providers.","archived":false,"fork":false,"pushed_at":"2024-11-07T22:02:28.000Z","size":3556,"stargazers_count":82,"open_issues_count":9,"forks_count":22,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-08T05:42:15.338Z","etag":null,"topics":["disposable-email","email","email-dns-validation","email-validation","free-email","smtp","spam","validation"],"latest_commit_sha":null,"homepage":"https://dev.me/products/email","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devmehq.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-11T10:18:56.000Z","updated_at":"2024-11-07T05:30:07.000Z","dependencies_parsed_at":"2024-01-26T12:52:11.852Z","dependency_job_id":"1c0c25eb-c480-42e5-9a17-f1a590030930","html_url":"https://github.com/devmehq/email-validator-js","commit_stats":{"total_commits":195,"total_committers":8,"mean_commits":24.375,"dds":"0.41025641025641024","last_synced_commit":"628f2a3985bab3a517492512ef2489eab55c3513"},"previous_names":[],"tags_count":206,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmehq%2Femail-validator-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmehq%2Femail-validator-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmehq%2Femail-validator-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devmehq%2Femail-validator-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devmehq","download_url":"https://codeload.github.com/devmehq/email-validator-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224188060,"owners_count":17270366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["disposable-email","email","email-dns-validation","email-validation","free-email","smtp","spam","validation"],"created_at":"2024-08-02T22:00:36.645Z","updated_at":"2025-05-05T16:32:02.610Z","avatar_url":"https://github.com/devmehq.png","language":"TypeScript","funding_links":[],"categories":["Deliverability"],"sub_categories":["Email Verification"],"readme":"# Advanced Email Validator\n\n[![NPM version](https://badgen.net/npm/v/@devmehq/email-validator-js)](https://npm.im/@devmehq/email-validator-js)\n[![Build Status](https://github.com/devmehq/email-validator-js/workflows/CI/badge.svg)](https://github.com/devmehq/email-validator-js/actions)\n[![Downloads](https://img.shields.io/npm/dm/email-validator-js.svg)](https://www.npmjs.com/package/email-validator-js)\n[![UNPKG](https://img.shields.io/badge/UNPKG-OK-179BD7.svg)](https://unpkg.com/browse/@devmehq/email-validator-js@latest/)\n\nVerify email address checking MX records, and SMTP connection, check for disposable email addresses and free email providers.\n\n## Features\n✅ Check email address validity\n\n✅ Check email address domain validity in domain TLD list\n\n✅ Check email address MX records\n\n✅ Check email address SMTP connection\n\n✅ Check email address disposable or burnable status\n\n✅ Check email address free email provider status\n\n🚨 Check domain age and quality score - _**soon**_\n\n🚨 Check domain registration status - _**soon**_\n\n## Use cases\n- Increase delivery rate of email campaigns by removing spam emails\n- Increase email open rate and your marketing IPs reputation\n- Protect your website from spam, bots and fake emails\n- Protect your product signup form from fake emails\n- Protect your website forms from fake emails\n- Protect your self from fraud orders and accounts using fake emails\n- Integrate email address verification into your website forms\n- Integrate email address verification into your backoffice administration and order processing\n\n\n## API / Cloud Hosted Service\nWe offer this `email verification and validation and more advanced features` in our Scalable Cloud API Service Offering - You could try it here [Email Verification](https://dev.me/products/email)\n\n---\n\n## License\n\nemail-validator-js licensed under [Business Source License 1.1](LICENSE).\nThe BSL allows use only for non-production purposes.\n\n| Use Case | Is a commercial license required?|\n|----------|-----------|\n| Exploring email-validator-js for your own research, hobbies, and testing purposes | **No** |\n| Using email-validator-js to build a proof-of-concept application | **No** |\n| Using email-validator-js to build revenue-generating applications | **Yes** |\n| Using email-validator-js to build software that is provided as a service (SaaS) | **Yes** |\n| Forking email-validator-js for any production purposes | **Yes** |\n\nTo purchase a license for uses not authorized by BSL, please contact us at [sales@dev.me](mailto:sales@dev.me?subject=Interested%20in%20email-validator-js%20commercial%20license).\n\n---\n\n## installation and usage instructions\n\n## Installation\nInstall the module through YARN:\n```yarn\nyarn add @devmehq/email-validator-js\n```\nOr NPM\n```npm\nnpm install @devmehq/email-validator-js\n```\n\n## Examples\n```typescript\nimport { verifyEmail } from '@devmehq/email-validator-js';\n\nconst { validFormat, validSmtp, validMx } = await verifyEmail({ emailAddress: 'foo@email.com', verifyMx: true, verifySmtp: true, timeout: 3000 });\n// validFormat: true\n// validMx: true\n// validSmtp: true\n```\n\nWhen a domain does not exist or has no MX records, the domain validation will fail, and the mailbox validation will return `null` because it could not be performed:\n\n```typescript\nconst { validFormat, validSmtp, validMx } = await verifyEmail({ emailAddress: 'foo@bad-domain.com', verifyMx: true, verifySmtp: true, timeout: 3000 });\n// validFormat: true\n// validMx: false\n// validSmtp: null\n```\n\nA valid Yahoo domain will still return `validSmtp` true because their SMTP servers do not allow verifying if a mailbox exists.\n\n## Configuration options\n### `timeout`\nSet a timeout in seconds for the smtp connection. Default: `10000`.\n### `verifyMx`\nEnable or disable domain checking. This is done in two steps:\n1. Verify that the domain does indeed exist;\n2. Verify that the domain has valid MX records.\nDefault: `false`.\n### `verifySmtp`\nEnable or disable mailbox checking. Only a few SMTP servers allow this, and even then whether it works depends on your IP's reputation with those servers. This library performs a best effort validation:\n* It returns `null` for Yahoo addresses, for failed connections, for unknown SMTP errors.\n* It returns `true` for valid SMTP responses.\n* It returns `false` for SMTP errors specific to the address's formatting or mailbox existence.\nDefault: `false`.\n\n### Disposable email providers database ( ✅ Always Updated )\n[Disposable email providers](./src/disposable-email-providers.json)\n\n### Free email providers database  ( ✅ Always Updated )\n[Free email providers](./src/free-email-providers.json)\n\n## Testing\n```bash\nyarn test\n```\n\n## Contributing\nPlease feel free to open an issue or create a pull request and fix bugs or add features, All contributions are welcome. Thank you!\n\n## LICENSE [Business Source License 1.1](LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmehq%2Femail-validator-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevmehq%2Femail-validator-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevmehq%2Femail-validator-js/lists"}