htmldec

html decoder

htmlDec

converts html special entities back to plain text

the conversation table is taken from

npm install htmldec
var htmlDec = require('htmldec');

var input = '" < T E X T > "';
var decoded = htmlDec(input);
console.log(decoded) // prints " < T E X T > "

public domain