- decode html entities
- tiny function that replaces the html entities for the chars: "<", ">", "''", "&"
npm install decode-html
var 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 test
MIT
Andi Neck | @andineck | intesso