@humanspeak/svelte-purify
Safe HTML rendering for Svelte powered by DOMPurify. SSR-ready, browser-only entry, and edge-friendly options.
html-truncate-ts
TypeScript library for truncating HTML strings while preserving HTML tags and structure
sanitize-request
A TypeScript library for safe display and sanitization to prevent XSS attacks.