diff --git a/README.md b/README.md index 4bf0329..6204d9d 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,33 @@ def reject_email_blacklist end end ``` +**NodeJs ** contributed by @martin-fogelman +```Node +'use strict'; + +const readline = require('readline'), + fs = require('fs'); + +const input = fs.createReadStream('./disposable_email_blacklist.conf'), + output = [], + rl = readline.createInterface({input}); + +// PROCESS LINES +rl.on('line', (line) => { + console.log(`Processing line ${output.length}`); + output.push(line); +}); + +// SAVE AS JSON +rl.on('close', () => { + try { + const json = JSON.stringify(output); + fs.writeFile('disposable_email_blacklist.json', json, () => console.log('--- FINISHED ---')); + } catch (e) { + console.log(e); + } +}); +``` Contributing ============ diff --git a/disposable_email_blacklist.conf b/disposable_email_blacklist.conf index 35e0161..d81f907 100644 --- a/disposable_email_blacklist.conf +++ b/disposable_email_blacklist.conf @@ -729,6 +729,7 @@ furzauflunge.de fux0ringduh.com fxnxs.com fyii.de +g14l71lb.com g4hdrop.us gaggle.net galaxy.tv @@ -1642,6 +1643,7 @@ sky-ts.de slapsfromlastnight.com slaskpost.se slave-auctions.net +slipry.net slopsbox.com slothmail.net slushmail.com