Search results

139 packages found

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

published 1.0.15 2 months ago
M
Q
P

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.1 8 hours ago
M
Q
P

hast utility to sanitize nodes

published 5.0.1 6 months ago
M
Q
P

rehype plugin to sanitize HTML

published 6.0.0 8 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 a month ago
M
Q
P

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

published 1.1.0 2 months ago
M
Q
P

A polyfill for the Sanitizer API with various sanitizer configs

published 0.1.0 18 days 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 2 months ago
M
Q
P

Sanitize JSON for possible malicious HTML

published 1.0.0 10 months ago
M
Q
P

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

published 2.11.4 3 months ago
M
Q
P

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

published 2.11.3 3 months ago
M
Q
P

Lightweight plugin for sanitize your html

published 1.0.2 6 years ago
M
Q
P

💎 Safe html expansion for Svelte with universal-sanitize

published 1.2.16 4 hours ago
M
Q
P

Escape a string for use in HTML or the inverse

published 4.0.0 3 years ago
M
Q
P

Markdown parser for `@shgysk8zer0/aegis`

published 0.0.3 2 months ago
M
Q
P

💎 Isomorphic html sanitizer by DOMPurify + sanitize-html

published 1.2.9 7 hours ago
M
Q
P

sanitize html using caja and reasonable assumptions

published 0.1.4 7 years ago
M
Q
P

Node wrapper for caja sanitizer for html/css including data-* attributes

published 1.0.4 9 years ago
M
Q
P

Modified sanitize-html for React. Clean up user-submitted HTML, preserving whitelisted elements and whitelisted attributes on a per-element basis

published 1.13.0 8 years ago
M
Q
P

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.

published 1.1.5 8 years ago
M
Q
P