0.0.1 • Published 10 years ago

escapehtmlent v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

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);