filenamify
Convert a string to a valid safe filename
Convert a string to a valid safe filename
String validation and sanitization
Escape a string for use in HTML or the inverse
Sanitize untrusted HTML (to prevent XSS) with a configuration specified by a Whitelist
Sanitize untrusted CSS with a configuration specified by a Whitelist. 根据白名单过滤CSS
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 a string for use as a filename
Express middleware for the validator module.
hast utility to sanitize nodes
Transform environment variables into JSON object with sanitized values.
Splits a hostname into subdomains, domain and (effective) top-level domains
Secure XSS Filters - Just sufficient output filtering to prevent XSS!
ESLint rule to disallow unsanitized code
Helper to sanitize mongodb queries against query selector injections
rehype plugin to sanitize HTML
Express middleware for the sanitizer module.
Ember addon to help purify DOM content
A JavaScript port of the Apache Lucene ASCII Folding Filter that converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into a ASCII equivalents, if they exist.
Whitelist-based HTML sanitizer for Vue.js apps.