String validation
-
Updated
Nov 21, 2024 - JavaScript
Sanitizing is a process to check and remove harmful data from user input. It prevents XSS (Cross Site Scripting) attacks.
String validation
Use DOMPurify on server and client in the same way
Fast JavaScript HTML Sanitizer, client-side (i.e. needs a browser, won't work in Node and other backend)
A toolkit for consumers of Node.js diagnostic Reports
🔧 Transform environment variables into JSON object with sanitized values.
A node package & userscript that removes tracking or garbage parameters from URLs making them shorter, cleaner and a lot nicer to read.
Validate, sanitize and transform values with proper TypeScript types and zero dependencies.
Whitelist-based HTML sanitizer (sanitize-html) for Vue.js apps.
Angular pipe for sanitizing your unsafe content
Simple PHP sanitization class used to verify and clean values to assure they are valid and secure
Remove all punctuation and accents from the filename of uploaded files
A library of string validators and sanitizers, based on the js library validator.js
String date and time utilities 🕙