escapehtmlent
v0.0.1
Published
A small utility to escape/unescape HTML entities
Downloads
2
Readme
Escapehtmlent
A small utility to escape/unescape HTML entities
##Usage
var escapehtmlent = require('escapehtmlent') escape = escapehtmlent.escape, unescape = escapehtmlent.unescape;
var html = 'Hello World', escaped = escape(html), unescaped = unescape(escaped);
console.log('html', html, 'escaped', escaped, 'unescaped', unescaped);