Search results
145 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
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
hast utility to sanitize nodes
A 1.75kB library for enhancing `html`. `ultrahtml` has zero dependencies and is compatible with any JavaScript runtime.
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
rehype plugin to sanitize 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
💎 Safe html expansion for Svelte with universal-sanitize
Bellini module for sanitizing HTML
💎 Isomorphic html sanitizer by DOMPurify + sanitize-html
A lightweight library for parsing HTML elements.
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
A polyfill for the Sanitizer API with various sanitizer configs
A lightweight library for sanitizing HTML input to prevent XSS attacks.
Render remote HTML or Markdown content in Astro with full control over the output.
Unsafe version of markdown-to-jsx that does not sanitize URLs
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