canonical-email
v1.0.0
Published
Email address normalization to remove subdomains, plus addressing, and comments.
Downloads
17
Maintainers
Readme
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]