Skip to content

Email address normalization to remove subdomains, plus addressing, and comments.

License

Notifications You must be signed in to change notification settings

coryasilva/canonical-email

Repository files navigation

canonical-email

Email address normalization to remove subdomains, plus addressing, and comments.

Install

npm install canonical-email

Usage

import { canonicalize } from 'canonical-email';

const email = '[email protected]';
const emailCanonical = canonicalize(email);

console.log(emailCanonical);
//=> [email protected]

About

Email address normalization to remove subdomains, plus addressing, and comments.

Resources

License

Stars

Watchers

Forks

Packages

No packages published