A small utility library providing utility methods to 'escape' and 'unescape' HTML entities
npm install html-cleaner --save
var cleaner = require('html-cleaner'),
escape = cleaner.escape,
unescape = cleaner.unescape;
var html = '<h1>Hello world!</h1>',
escaped = escape(html),
unescaped = unescape(escaped);
console.log('html', html, 'escaped', escaped, 'unescaped', unescaped);
npm test
* 0.1.0 Initial release