node package manager
We need your input. Help make JavaScript better: Take the 2017 JavaScript Ecosystem survey »

mailscan

mailscan

simple function that intent to extract emails from a text Feel free to contribute!

install

npm install mailscan

usage

var mailscan = require('mailscan')
mailscan(txt);
// output [{email, firstname, lastname}]