Skip to content

gildean/html-strings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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

About

Escape and unescape html-strings.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published