Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/vivekimsit/scapeboat
- Owner: vivekimsit
- License: mit
- Created: 2014-12-30T04:53:02.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-31T02:38:37.000Z (almost 10 years ago)
- Last Synced: 2024-08-09T22:11:54.826Z (5 months ago)
- Language: JavaScript
- Size: 199 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)));
```
## Testsnpm test
## Contributing
Feel free to contrinute :)
## Release History
* 0.1.1 Initial release