Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vivekimsit/scapeboat

Toy library for learning nodejs
https://github.com/vivekimsit/scapeboat

Last synced: 1 day ago
JSON representation

Toy library for learning nodejs

Awesome Lists containing this project

README

        

scapeboat
=========

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

## Installation
```shell
npm install scapeboat --save
```
## Usage
```js
var scapeboat = require('scapeboat')
escape = scapeboat.escape,
unescape = scapeboat.unescape;

var html = '

Hello World

';

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