obf

obfuscate

Obfuscate your email links!

Showing:

Popularity

Downloads/wk

50

GitHub Stars

2

Maintenance

Last Commit

4yrs ago

Contributors

1

Package

Dependencies

5

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

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 = require('obfuscate')

...

return html`
    <p>
        Email: ${obfuscate({
            email:'hello@coston.cool', 
            subject:'Question from the website', 
            cc:'friend@coston.cool'
        })}
    </p>
  `

Output

Robot Interaction

<p>
  Email: <a href="obfuscated">looc.notsoc@olleh</a>
</p>

Human Interaction

<p>
  Email: <a href="mailto:hello@coston.cool&subject=Question%20from%20the%20website&cc=friend@coston.cool">hello@coston.cool</a>
</p>

Options

KeyValue
emailemail address of the intended recipient
ccemail address to carbon copy email to
bccemail address to blind carbon copy to
subjectsubject of email
bodybody text of email

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial