Gathering detailed insights and metrics for @devmehq/email-validator-js
Gathering detailed insights and metrics for @devmehq/email-validator-js
Gathering detailed insights and metrics for @devmehq/email-validator-js
Gathering detailed insights and metrics for @devmehq/email-validator-js
Verify email address checking MX records, and SMTP connection, check for disposable email addresses and free email providers.
npm install @devmehq/email-validator-js
Typescript
Module System
Min. Node Version
Node Version
NPM Version
83.4
Supply Chain
100
Quality
86
Maintenance
100
Vulnerability
92.8
License
v1.1.0-beta.163
Updated on Feb 12, 2025
v1.1.0-beta.162
Updated on Feb 12, 2025
v1.1.0-beta.161
Updated on Feb 11, 2025
v1.1.0-beta.160
Updated on Feb 11, 2025
v1.1.0-beta.159
Updated on Feb 09, 2025
v1.1.0-beta.158
Updated on Feb 08, 2025
TypeScript (80.4%)
JavaScript (19.6%)
Total Downloads
206,221
Last Day
101
Last Week
1,152
Last Month
5,195
Last Year
118,126
NOASSERTION License
98 Stars
211 Commits
23 Forks
2 Watchers
7 Branches
5 Contributors
Updated on Jul 04, 2025
Minified
Minified + Gzipped
Latest Version
2.0.1
Package Id
@devmehq/email-validator-js@2.0.1
Unpacked Size
5.68 MB
Size
1.48 MB
File Count
13
NPM Version
10.9.2
Node Version
22.13.1
Published on
Feb 12, 2025
Cumulative downloads
Total Downloads
Last Day
46.4%
101
Compared to previous day
Last Week
-0.8%
1,152
Compared to previous week
Last Month
-33.3%
5,195
Compared to previous month
Last Year
41.4%
118,126
Compared to previous year
2
Verify email address checking MX records, and SMTP connection, check for disposable email addresses and free email providers.
✅ Check email address validity
✅ Check email address domain validity in domain TLD list
✅ Check email address MX records
✅ Check email address SMTP connection
✅ Check email address disposable or burnable status
✅ Check email address free email provider status
🚨 Check domain age and quality score - soon
🚨 Check domain registration status - soon
We offer this email verification and validation and more advanced features
in our Scalable Cloud API Service Offering - You could try it here Email Verification
email-validator-js licensed under Business Source License 1.1. The BSL allows use only for non-production purposes.
Use Case | Is a commercial license required? |
---|---|
Exploring email-validator-js for your own research, hobbies, and testing purposes | No |
Using email-validator-js to build a proof-of-concept application | No |
Using email-validator-js to build revenue-generating applications | Yes |
Using email-validator-js to build software that is provided as a service (SaaS) | Yes |
Forking email-validator-js for any production purposes | Yes |
To purchase a license for uses not authorized by BSL, please contact us at sales@dev.me.
Install the module through YARN:
1yarn add @devmehq/email-validator-js
Or NPM
1npm install @devmehq/email-validator-js
1import { verifyEmail } from '@devmehq/email-validator-js'; 2 3const { validFormat, validSmtp, validMx } = await verifyEmail({ emailAddress: 'foo@email.com', verifyMx: true, verifySmtp: true, timeout: 3000 }); 4// validFormat: true 5// validMx: true 6// validSmtp: true
When 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:
1const { validFormat, validSmtp, validMx } = await verifyEmail({ emailAddress: 'foo@bad-domain.com', verifyMx: true, verifySmtp: true, timeout: 3000 }); 2// validFormat: true 3// validMx: false 4// validSmtp: null
A valid Yahoo domain will still return validSmtp
true because their SMTP servers do not allow verifying if a mailbox exists.
timeout
Set a timeout in seconds for the smtp connection. Default: 10000
.
verifyMx
Enable or disable domain checking. This is done in two steps:
false
.verifySmtp
Enable 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:
null
for Yahoo addresses, for failed connections, for unknown SMTP errors.true
for valid SMTP responses.false
for SMTP errors specific to the address's formatting or mailbox existence.
Default: false
.1yarn test
Please feel free to open an issue or create a pull request and fix bugs or add features, All contributions are welcome. Thank you!
No vulnerabilities found.
No security vulnerabilities found.