Security News
Bun 1.2 Released with 90% Node.js Compatibility and Built-in S3 Object Support
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
@zootools/email-spell-checker
Advanced tools
mailSpellChecker.js (mail spell checker) is a lightweight module that suggests a right domain when your users misspell it in an email address
🔐 Reduce failed authentication ⬆️ Increase emails delivery ⚡️ Built for speed
Email Spell Checker is the easiest way to reduce misspelled email addresses in your web apps and server. Used in production by companies to validate thousands of mispelled emails daily.
Email Spell Checker is a lightweight JavaScript module written in TypeScript that suggests a right domain when your users misspell it in an email address.
At ZooTools, we validate thousands of emails daily with mailSpellChecker and it helped up to reduce by 30% bounced emails.
We rewrote and improve mailcheck.js, a great module that is not longer maintained (7+ years old).
js-levenshtein
, one of the fastest string distance JS modules.Install with npm:
npm i @zootools/email-spell-checker --save
Install with yarn:
yarn add @zootools/email-spell-checker
import emailSpellChecker from '@zootools/email-spell-checker';
const suggestedEmail = emailSpellChecker.run({
email: 'jorge@gmaik.co',
});
if (suggestedEmail) {
// Found bad spelled email...
// ...Tell your user to fix the email
console.log('address', suggestedEmail.address); // jorge
console.log('domain', suggestedEmail.domain); // gmail.com
console.log('full', suggestedEmail.full); // jorge@gmail.com
}
TODO: Put screenshot of it in action
Want to help contribute launching this email spell checker in other languages? Reach out to us and we'll provide the resources and help to make it happen and help distribute your package.
Type: string
Lorem ipsum.
Type: object
Type: string
Default: rainbows
Lorem ipsum.
FAQs
mailSpellChecker.js (mail spell checker) is a lightweight module that suggests a right domain when your users misspell it in an email address
The npm package @zootools/email-spell-checker receives a total of 38,386 weekly downloads. As such, @zootools/email-spell-checker popularity was classified as popular.
We found that @zootools/email-spell-checker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.
Security News
Biden's executive order pushes for AI-driven cybersecurity, software supply chain transparency, and stronger protections for federal and open source systems.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.