A simple utility to sanitize a string according to ArcGIS supported HTML specification.
Caja's HTML Sanitizer as a Node.js module
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
Express middleware for the sanitizer module.
A fast, native Bun-powered HTML sanitizer with DOMPurify-like features. Protection against XSS and malicious content.
Lightning Web Security HTML and SVG sanitization utilities
Node wrapper for the Google Caja HTML/CSS sanitizer
Clean up user-submitted HTML, preserving allowlisted elements and allowlisted attributes on a per-element basis
TypeScript definitions for sanitizer
Express JS middleware to cleanup/sanitize json request body in express
DOM-based HTML email sanitizer for in-browser email rendering.
Express 4.x and 5.x middleware which sanitizes user input data (in req.body, req.query, req.headers and req.params) to prevent Cross Site Scripting (XSS) attack.
Makes it possible to use DOMPurify on server and client in the same way.
A string manipulation toolbox, featuring a string formatter (inspired by sprintf), a variable inspector (output featuring ANSI colors and HTML) and various escape functions (shell argument, regexp, html, etc).
a complete package to control user input data to prevent Cross Site Scripting (XSS) ,Sql injection and no Sql injection attack
HTML tag sanitizer for marked
Decorator based class property sanitation in Typescript.
An intuitive & tiny string sanitizer to remove any special characters or convert strings to create filename or url 🎉🎉
PromptShield sanitizer that applies safe, deterministic fixes to text based on detected prompt-injection threats such as invisible characters, markdown smuggling, and BOM artifacts.
sanitizer for markdown-it.
Plugin for Logrocket to mask request/response bodies by designated field names
URL sanitizer for Node.js, browsers and web sites.
A JavaScript/TypeScript utility to sanitize filenames for S3 and general use
Sanitize out invalid xml characters from your strings