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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    2

Package Sidebar

Install

npm i html-strings

Weekly Downloads

2

Version

0.0.1

License

none

Last publish

Collaborators

  • gildean