@epiccarlito/emailchecker
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

EmailChecker

A simple way to check if an email exists! You can also check the domain of the email with the second parameter. Warning: Port 25 must be allowed! (Or email checks return false)

Installation

npm i @epiccarlito/emailchecker

TypeScript

import { checkEmail } from "@epiccarlito/emailchecker";

JavaScript

const { checkEmail } = require("@epiccarlito/emailchecker");

Example Code

async function main() {
	let result = await checkEmail("exampleemail@gmail.com", "gmail.com");
	return result;
}
main(); // Returns false

Original Concept

Inspired by email-existence. Both packages check the codes of the MX server to identify if an email address accepts emails and exists.

Package Sidebar

Install

npm i @epiccarlito/emailchecker

Weekly Downloads

13

Version

1.1.5

License

ISC

Unpacked Size

9.96 kB

Total Files

9

Last publish

Collaborators

  • epiccarlito