email-normalize

1.0.0 • Public • Published

email-normalize

This is a rewrite of email-normalize without Meteor stuff.

Installation

npm install --save email-normalize

Usage

const normalize = require('email-normalize');
 
// Sync version
const normalized = normalize('a.b.c@gmail.com'); // Output: 'abc@gmail.com'
 
// Async version (powered by Bluebird)
normalize('a.b.c@googlemail.com', { detectProvider: true }).then(normalized => {
  console.log(normalized); // Output 'abc@gmail.com'
});

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i email-normalize

Weekly Downloads

229

Version

1.0.0

License

SEE LICENSE IN LICENSE

Last publish

Collaborators

  • tsabolov