scapeboat

0.1.1 • Public • Published

scapeboat

Toy library for learning nodejs, it escapes and unescapes HTML entities.

Installation

  npm install scapeboat --save

Usage

  var scapeboat = require('scapeboat')
      escape = scapeboat.escape,
      unescape = scapeboat.unescape;
 
  var html = '<h1> Hello World</h1>';
 
  console.log('Escaped: ', escape(html));
  console.log('Unescaped: ', unescape(escaped(html)));

Tests

npm test

Contributing

Feel free to contrinute :)

Release History

  • 0.1.1 Initial release

Readme

Keywords

Package Sidebar

Install

npm i scapeboat

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • vivekimsit