obfuscate
An intelligent function to obfuscate any contact link
Why
The world needs obfuscated links that display the link in a friendly way.
Installation
npm install --save obfuscate
Usage
var obfuscate = ... return html` Email: `
Output
Robot Interaction
Email: looc.notsoc@olleh
Human Interaction
<p> Email: <a href="mailto:hello@coston.cool&subject=Question%20from%20the%20website&cc=friend@coston.cool">hello@costoncool</a></p>
Options
Key | Value |
---|---|
email address of the intended recipient | |
cc | email address to carbon copy email to |
bcc | email address to blind carbon copy to |
subject | subject of email |
body | body text of email |