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);//mehmet.kozan@live.comText File Extract (not implemented)
const ExtractEmail = require('extract-email');
//not implementedCSV Extract (not implemented)
const ExtractEmail = require('extract-email');
//not implementedExcel Extract (not implemented)
const ExtractEmail = require('extract-email');
//not implementedTest
mocha or npm test
check test folder and QUICKSTART.js for extra usage.