0.1.0 • Published 7 years ago

scaper v0.1.0

Weekly downloads
6
License
ISC
Repository
github
Last release
7 years ago

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