express-sanitizer
JSON →Express middleware for sanitizing user input using the Caja-HTML-Sanitizer (Google Caja sanitizer) to mitigate persistent XSS risks. Version 1.0.6 is available on npm. The package has been in maintenance mode since 2021; its core dependency (sanitizer) has not been updated in years. It adds a `req.sanitize()` method to Express request objects. Compared to alternatives like express-validator, this library is minimal but unmaintained and should be avoided in new projects.
Traffic · last 30 days stale · no recent hits
total hits 13
actors 3 distinct systems
last hit 18d ago AhrefsBot
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · VN · 🇬🇧 United Kingdom
Resources
API endpoints
full doc /v1/registry/express-sanitizer
compatibility /v1/registry/express-sanitizer/compatibility