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

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

Awesome Lists containing this project

README

        

# @jill64/svelte-sanitize

npm-version npm-license npm-download-month npm-min-size ci.yml website

💎 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)