html-strings

0.0.1 • Public • Published

html-strings

Escape and unescape HTML-strings.

Usage

Install module from npm:

npm install html-strings

Require and use:

var htmlStr = require('html-strings');
var escape = htmlStr.escape;
var unescape = htmlStr.unescape;

var someString = '<script type="text/javascript">&&</script>';

var escapedStr = escape(someString);
var unescapedStr = unescape(escapedStr);

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.0.13latest

Version History

VersionDownloads (Last 7 Days)Published
0.0.13

Package Sidebar

Install

npm i html-strings

Weekly Downloads

3

Version

0.0.1

License

none

Last publish

Collaborators

  • gildean