1.2.17 ā€¢ Published 4 days ago

@jill64/svelte-sanitize v1.2.17

Weekly downloads
-
License
MIT
Repository
github
Last release
4 days ago

@jill64/svelte-sanitize

šŸ’Ž Safe html expansion for Svelte with universal-sanitize

Demo

Installation

npm i @jill64/svelte-sanitize

If you have problems building with pnpm, try the following

pnpm i -D @jill64/universal-sanitizer

Usage

<script>
  import { Render } from '@jill64/svelte-sanitize'
</script>

<Render
  html={/* dirty html */}
  options={/* {
    sanitizeHtml?: sanitize-html options
    dompurify?: DOMPurify options
  } */}
/>

Same as all parameters @jill64/universal-sanitize

License

MIT

1.2.17

4 days ago

1.2.16

8 days ago

1.2.15

11 days ago

1.2.14

20 days ago

1.2.13

27 days ago

1.2.12

1 month ago

1.2.10

1 month ago

1.2.11

1 month ago

1.2.9

2 months ago

1.2.8

2 months ago

1.2.7

2 months ago

1.2.6

2 months ago

1.2.5

2 months ago

1.2.4

2 months ago

1.2.3

3 months ago

1.2.2

3 months ago

1.2.1

3 months ago

1.2.0

3 months ago

1.1.8

3 months ago

1.1.7

4 months ago

1.1.6

4 months ago

1.1.5

4 months ago

1.1.4

4 months ago

1.1.3

5 months ago

1.1.2

5 months ago

1.1.0

5 months ago

1.0.2

5 months ago

1.0.3

5 months ago

1.0.1

5 months ago

1.0.0

5 months ago

0.0.1

5 months ago