Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nescalante/unscape-html
https://github.com/nescalante/unscape-html
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/nescalante/unscape-html
- Owner: nescalante
- License: mit
- Created: 2018-05-17T17:37:44.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-06-17T20:44:58.000Z (7 months ago)
- Last Synced: 2024-11-11T23:53:35.074Z (about 2 months ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: Readme.md
- License: License
Awesome Lists containing this project
README
# unscape-html [![Build Status](https://travis-ci.org/nescalante/unscape-html.svg?branch=master)](https://travis-ci.org/nescalante/unscape-html) [![Greenkeeper badge](https://badges.greenkeeper.io/nescalante/unscape-html.svg)](https://greenkeeper.io/)
> Unescapes HTML
# Install
Use it as an npm package:
```shell
npm install unscape-html
```# Usage
```js
const unescape = require('unscape-html');unscape('javascript:alert(1)'); // javascript:alert(1)
```# License
MIT