An express middleware to sanitize all of the request inputs to prevent SQL injections and XSS attacks
The request body
,params
and queries
will be sanitized. Also, you can edit middleware for custom edits like, escape or adding any characters.
I accept any contributes with open arms \./
npm i express-sanitize
const es = require('express-sanitize');
app.use(es);