A module and cli that encodes email addresses in a string into HTML entities
Install
$ npm install email-encoder
Usage
const emailEncoder = ; ;//=> 'My email is my-email@example.com'
API
emailEncoder(input)
input
Type: string
Command line usage
$ npm install --global email-encoder
$ email-encoder 'My email is my-email@example.com'
My email is my-email@example.com
$ email-encoder --help
Usage
email-encoder [input]
Examples
$ email-encoder "Hello, world!"
// -> "Hello, world!"
$ email-encoder "My e-mail is hello@example.com"
// -> My e-mail is hello@example.com
License
MIT © DecentM