escapehtmlent

0.0.1 • Public • Published

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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.12latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.12

Package Sidebar

Install

npm i escapehtmlent

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • karloespiritu