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

published 3.1.6 3 months ago
M
Q
P

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis

published 2.13.0 6 months ago
M
Q
P

Makes it possible to use DOMPurify on server and client in the same way.

published 2.15.0 25 days ago
M
Q
P

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

published 1.0.15 7 months ago
M
Q
P

A 1.75kB library for enhancing `html`. `ultrahtml` has zero dependencies and is compatible with any JavaScript runtime.

published 1.5.3 7 months ago
M
Q
P

hast utility to sanitize nodes

published 5.0.1 a year ago
M
Q
P

Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS

published 0.0.11 a month ago
M
Q
P

A minimalistic library for sanitizing strings so that they can be safely used as HTML.

published 1.5.9 2 months ago
M
Q
P

Escape a string for use in HTML or the inverse

published 4.0.0 3 years ago
M
Q
P

rehype plugin to sanitize HTML

published 6.0.0 a year ago
M
Q
P

A lightweight library for parsing HTML elements.

published 2.0.2 3 months ago
M
Q
P

HTML formatting in accordance with the given rules

published 2.0.0 7 months ago
M
Q
P

Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist

published 1.2.0 5 months ago
M
Q
P

A lightweight library for sanitizing HTML input to prevent XSS attacks.

published 2.0.1 3 months ago
M
Q
P

💎 Safe html expansion for Svelte with universal-sanitize

published 1.3.2 a month ago
M
Q
P

Render remote HTML or Markdown content in Astro with full control over the output.

published 0.3.3 5 months ago
M
Q
P

Markdown to HTML using marked and DOMPurify. Safe by default.

published 16.0.0 7 months ago
M
Q
P

💎 Use DOMPurify for some context by conditional exports

published 1.0.19 a month ago
M
Q
P

Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis

published 2.11.3 8 months ago
M
Q
P

💎 Safe html expansion for Svelte with DOMPurify

published 1.1.36 3 hours ago
M
Q
P