NodeJS module to obfuscate eMail addresses
npm install html-email-obfuscatoremail-obfuscator for Node.js
============================
This module combines some Email obfuscation technics in the browser.
The @ char is removed and only its index is passed on. It will be reinserted using the expression String.fromCharCode(4224).
* The address itself will be transmitted as a ROT13 transformed string which will be retransformed by Javascript.
Usage
-----
The Email address "mail@example.com" will result in the following string:
``js
var emailObfuscator = require('email-obfuscator');
var obfuscated = emailObfuscator.obfuscate('mail@example.com');
// obfuscated = 'znvyrknzcyr.pbz/4'
var htmlScript = emailObfuscator.asHtmlScript('mail@example.com');
// htmlScript = See below
var original = emailObfuscator.unobfuscate(obfuscate);
// original = 'mail@example.com'
`
asHtmlScript output which can be included instead of the email address:
`html`
Installation
------------
```
npm install --save email-obfuscator