Search results
139 packages found
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
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
hast utility to sanitize nodes
rehype plugin to sanitize HTML
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
A polyfill for the Sanitizer API with various sanitizer configs
A 1.75kB library for enhancing `html`. `ultrahtml` has zero dependencies and is compatible with any JavaScript runtime.
Sanitize JSON for possible malicious HTML
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
Lightweight plugin for sanitize your html
💎 Safe html expansion for Svelte with universal-sanitize
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
Markdown parser for `@shgysk8zer0/aegis`
💎 Isomorphic html sanitizer by DOMPurify + sanitize-html
sanitize html using caja and reasonable assumptions
Node wrapper for caja sanitizer for html/css including data-* attributes
Modified sanitize-html for React. Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis
This module Sanitizes HTML input, stripping all tags and attributes that aren't whitelisted.HTML sanitization can be used to protect against cross-site scripting (XSS) attacks by sanitizing any HTML code submitted by a user.