Skip to content

gartenkralle/mailcheck-plus-plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mailcheck++

A modern revival of the original Mailcheck — now maintained and improved!

Mailcheck++ suggests corrections when users misspell email domains — like gmial.com instead of gmail.com. It helps reduce signup errors, improve data quality, and enhance user experience.

This is a continuation of the original Mailcheck project by @derrickko, built under the MIT License. While that version is no longer actively maintained, this fork-free reboot brings it up to date with modern JavaScript standards and community-driven improvements.

✨ Features

  • 🧠 Smart domain, top-level domain, and second-level domain corrections
  • 🛠️ Written in modern, modular JavaScript (ESM)
  • ⚡ Fast, lightweight, and dependency-free
  • ✅ Tested with real-world typos and domains
  • 🌍 Supports custom domain lists and localizations

🔧 Usage

import { MailcheckPlusPlus } from "https://cdn.jsdelivr.net/gh/gartenkralle/mailcheck-plus-plus@1.0.3/js/modules/mailcheck-plus-plus.js";

const emailInput = document.getElementById('email');
const suggestion = document.getElementById('suggestion');

emailInput.addEventListener('blur', () => {
    const result = MailcheckPlusPlus.checkEmail(emailInput.value);

    suggestion.textContent = result ? 
        `Did you mean: ${result.full}?` : 
        'No suggestions available.';
});

🔍 What's New

  • Fully ES Module-compatible
  • Improved typo detection
  • Rewritten for better performance and maintainability

🙌 Acknowledgements

This project is based on the original Mailcheck by derrickko. Licensed under the MIT License.

📃 License

MIT © Clemens Schneider

About

Fast, dependency-free JavaScript library to auto-correct common email domain typos.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors