munge

a tiny node module to munge any strings. useful if you want to obfuscate email addresses to valid, numeric html entities.

munge

ummm, just a tiny node module to munge any strings. useful if wou want to obfuscate email addresses to valid, numeric html entities.

as long as spam robots are still dumb, this should significantly reduce the risk of the email address being harvested.

var munge     = require('munge');
var ANY_EMAIL = 'spacemonkey@moon.com';
 
console.log(munge(ANY_EMAIL));

should output

spacemonkey@moon.com

this is valid html code!

based on rfc1866, ftp://ftp.rfc-editor.org/in-notes/rfc1866.txt

  • express/jade integration
  • have it a piped stream instead

MIT