content-filter
JSON →Express.js middleware that filters incoming request URLs and HTML body contents for forbidden characters, words, or patterns, providing protection against NoSQL (e.g., MongoDB) injection attacks. Version 1.1.2 is the latest stable release; the package is stable but rarely updated. It does not depend on NoSQL and can be used for general content filtering. Unlike mongo-sanitize, which requires manual usage at each query, this middleware works globally at the app level. Requires body-parser as a peer dependency.
Resources
packagecontent-filter ↗