Search results
1000+ packages found
Sort by: Default
- Default
- Most downloaded this week
- Most downloaded this month
- Most dependents
- Recently published
String validation and sanitization
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
micromark utility to sanitize urls
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
Convert a string to a valid safe filename
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
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
Sanitize a string for use as a filename
A 1.75kB library for enhancing `html`. `ultrahtml` has zero dependencies and is compatible with any JavaScript runtime.
Express middleware for the validator module.
hast utility to sanitize nodes
Makes it possible to use DOMPurify on server and client in the same way.
- security
- dompurify
- xss-filter
- xss
- isomorphic
- wrapper
- universal
- ssr
- html-escape
- sanitize
- sanitize-html
- sanitizer
rehype plugin to sanitize HTML
ESLint rule to disallow unsanitized code
Splits a hostname into subdomains, domain and (effective) top-level domains
Secure XSS Filters - Just sufficient output filtering to prevent XSS!
Transform environment variables into JSON object with sanitized values.
Schema-Inspector is a powerful tool to sanitize and validate JS objects.
Coerce props to custom values