/express-sanitize

An express middleware to sanitize all of the request inputs to prevent SQL injections and XSS attacks

Primary LanguageJavaScript

express-sanitize

An express middleware to sanitize all of the request inputs to prevent SQL injections and XSS attacks Thanks to rimadarji


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 \./

Instalation


   npm i express-sanitize

Usage


   const es = require('express-sanitize');
   app.use(es);