PostHTML plugin that'll obfuscate emails etc...
npm install posthtml-obfuscate


Obfuscates emails to make it harder for bots to recognize.
sh
npm i posthtml-obfuscate -D
`$3
`html
sam@smith.com
`$3
`js
const posthtml = require('posthtml');
const phObfuscate= require('posthtml-obfuscate');const options = {
includeMailto: false
};
posthtml([phObfuscate(options)])
.process(myHtml)
.then(result => {
console.log(result.html); // The output
});
`$3
- includeMailto: Boolean - Includes the mailto:` prefix in the obfuscation. (Default: false)