- decode html entities
- tiny function that replaces the html entities for the chars: "<", ">", "''", "&"
npm install decode-htmlvar decode = require('decode-html');
console.log(decode('<div class="hidden">NON&SENSE's</div>'));
// -> '<div class="hidden">NON&SENSE\'s</div>'(opposite) encode function encode-html
npm testMIT
Andi Neck | @andineck | intesso