Search results
132 packages found
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. It's written in JavaScript and works in all modern browsers (Safari, Opera (15+), Internet Explorer (10+), Firefox and Chrome - as well as almost anything else usin
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
Makes it possible to use DOMPurify on server and client in the same way.
- security
- dompurify
- xss-filter
- xss
- isomorphic
- wrapper
- universal
- ssr
- html-escape
- sanitize
- sanitize-html
- sanitizer
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
A 1.75kB library for enhancing `html`. `ultrahtml` has zero dependencies and is compatible with any JavaScript runtime.
hast utility to sanitize nodes
Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS
- sanitization
- xss
- sanitize
- sanitisation
- input
- security
- escape
- encode
- filter
- validator
- html
- css
- injection
- whitelist
A minimalistic library for sanitizing strings so that they can be safely used as HTML.
Escape a string for use in HTML or the inverse
- escape
- unescape
- html
- entity
- entities
- escaping
- sanitize
- sanitization
- utility
- template
- attribute
- value
- interpolate
- xss
- View more
rehype plugin to sanitize HTML
A lightweight library for parsing HTML elements.
HTML formatting in accordance with the given rules
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
A lightweight library for sanitizing HTML input to prevent XSS attacks.
💎 Safe html expansion for Svelte with universal-sanitize
Render remote HTML or Markdown content in Astro with full control over the output.
Markdown to HTML using marked and DOMPurify. Safe by default.
💎 Use DOMPurify for some context by conditional exports
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
💎 Safe html expansion for Svelte with DOMPurify