{"library":"content-filter","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"1.1.2","tags":["javascript","mongodb","mongodb security","mongo security","mongo protector","mongodb protector","mongodb protection","nosql protection","nosql security"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install content-filter","imports":["import filter from 'content-filter'","const filter = require('content-filter')","app.use(require('content-filter')())"]},{"cmd":"yarn add content-filter","imports":[]},{"cmd":"pnpm add content-filter","imports":[]}],"homepage":"https://github.com/efkan/content-filter#readme","github":"https://github.com/efkan/content-filter","docs":null,"changelog":null,"pypi":null,"npm":"content-filter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}