DEV Community

Weasely
Weasely

Posted on

📧 Introducing Email Inspector 📧

Are you tired of dealing with invalid or improperly formatted email addresses in your applications? Say goodbye to email hassles with Email Inspector – a powerful Node.js package for email address validation and inspection! 🚀

Key Features:

  • Validate email addresses with precision, using a comprehensive list of registered Top-Level Domains (TLDs).
  • Ensure that email addresses adhere to the correct format and structure.
  • Effortlessly identify whether an email is associated with a business or a free provider.
  • Customize validation rules with ease, including options for custom free providers and provider exclusions.
  • Seamlessly integrate Email Inspector into your Node.js applications.

Getting Started Is a Breeze:

npm install email-inspector
Enter fullscreen mode Exit fullscreen mode
const emailInspector = require('email-inspector');

const email = 'user@example.com';

if (emailInspector.validate(email)) {
  console.log('Email is valid');
} else {
  console.log('Email is invalid');
}

Enter fullscreen mode Exit fullscreen mode

Whether you're building registration forms, contact systems, or any application that handles emails, Email Inspector has got your back. Ensure the integrity of your email communication effortlessly!

📦 NPM Package: https://www.npmjs.com/package/email-inspector

Top comments (0)