scaper
v0.1.0
Published
Utility methods for escaping/unescaping chars
Downloads
3
Readme
Scaper
A small library providing utility methods to escape
and unescape
HTML entities
Installation
npm install scaper --save
Usage
var scaper = require('scaper') escape = scaper.escape, unescape = scaper.unescape;
var html = 'Hello World', escaped = escape(html), unescaped = unescape(escaped);
console.log('html', html, 'escaped', escaped, 'unescaped', unescaped);
Tests
npm test
Release History
- 0.1.0 Initial release