Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nescalante/isomorphic-html-sanitize
Isomorphic HTML sanitizer
https://github.com/nescalante/isomorphic-html-sanitize
Last synced: 20 days ago
JSON representation
Isomorphic HTML sanitizer
- Host: GitHub
- URL: https://github.com/nescalante/isomorphic-html-sanitize
- Owner: nescalante
- License: mit
- Created: 2017-09-25T19:39:03.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-06T16:22:44.000Z (about 1 year ago)
- Last Synced: 2024-10-31T17:36:52.530Z (about 2 months ago)
- Language: JavaScript
- Size: 28.3 KB
- Stars: 2
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: License
Awesome Lists containing this project
README
# Isomorphic HTML sanitize
HTML sanitizer for Node and the browser
## Install
```
npm install isomorphic-html-sanitize
```## Usage
```javascript
const sanitize = require('isomorphic-html-sanitize');sanitize('A hacky HTML piece of code')
```## License
MIT