0.1.0 • Published 9 years ago
xy-first v0.1.0
xy-first
A small library providing utility methods to escape
and unescape
HTML entities
used for xy to learn how to publish node.js module
Installation
npm install xy-first --save
Usage
var scapegoat = require('xy-first')
escape = scapegoat.escape,
unescape = scapegoat.unescape;
var html = '<h1>Hello World</h1>',
escaped = escape(html),
unescaped = unescape(escaped);
console.log('html', html, 'escaped', escaped, 'unescaped', unescaped);
Tests
npm test
Release History
- 0.1.0 Initial release
0.1.0
9 years ago