encode-html
- encode html entities
- tiny function that replaces "<", ">", "''", "&" with html entities
install
npm install encode-html
use
var encode = ; console;// -> '<div class="hidden">NON&SENSE's</div>'
(opposite) decode function decode-html
test
npm test
license
MIT
author
Andi Neck | @andineck | intesso