https://github.com/jill64/svelte-sanitize
💎 Safe html expansion for Svelte with universal-sanitize
https://github.com/jill64/svelte-sanitize
html library sanitize svelte xss
Last synced: 3 days ago
JSON representation
💎 Safe html expansion for Svelte with universal-sanitize
- Host: GitHub
- URL: https://github.com/jill64/svelte-sanitize
- Owner: jill64
- License: mit
- Created: 2023-12-03T13:53:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-13T21:32:49.000Z (13 days ago)
- Last Synced: 2025-04-13T22:35:21.462Z (13 days ago)
- Topics: html, library, sanitize, svelte, xss
- Language: TypeScript
- Homepage: https://svelte-sanitize.jill64.dev
- Size: 1.66 MB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @jill64/svelte-sanitize
💎 Safe html expansion for Svelte with universal-sanitize
## [Demo](https://svelte-sanitize.jill64.dev)
## Installation
```sh
npm i @jill64/svelte-sanitize
```If you have problems building with pnpm, try the following
```sh
pnpm i -D @jill64/universal-sanitizer
```## Usage
```svelte
import { Render } from '@jill64/svelte-sanitize'
```
Same as all parameters [`@jill64/universal-sanitize`](https://github.com/jill64/universal-sanitizer#readme)
## License
[MIT](LICENSE)