npm install decode-html- decode html entities
- tiny function that replaces the html entities for the chars: "<", ">", "''", "&"
shell
npm install decode-html
`use
`javascript
var decode = require('decode-html');console.log(decode('<div class="hidden">NON&SENSE's</div>'));
// -> '
NON&SENSE\'s'`
> (opposite) encode function encode-htmltest
`shell
npm test
``