extract-email
v1.1.3
Published
A simple email extractor for obfuscated emails.
Downloads
1,499
Maintainers
Readme
extract-email
A simple email extractor for obfuscated emails.
Installation
npm install extract-email
Usage
String Extract
const ExtractEmail = require('extract-email');
let dotwords = [".","[dot]","-dot-"];
let atwords = ["@","[at]","-at-"];
let res = ExtractEmail.String("mehmet.kozan[at]live[dot]com",atwords,dotwords);
console.log(res[0].email);//[email protected]
Text File Extract (not implemented)
const ExtractEmail = require('extract-email');
//not implemented
CSV Extract (not implemented)
const ExtractEmail = require('extract-email');
//not implemented
Excel Extract (not implemented)
const ExtractEmail = require('extract-email');
//not implemented
Test
mocha
or npm test
check test folder and QUICKSTART.js for extra usage.