PostHTML Obfuscate
Obfuscates emails to make it harder for bots to recognize.
Install
npm i posthtml-obfuscate -D
Output
<!-- Before --> sam@smith.com <!-- After --> sam@smith.com
Usage
const posthtml = ;const phObfuscate= ; const options = includeMailto: false; ;
Options
includeMailto
: Boolean - Includes themailto:
prefix in the obfuscation. (Default: false)