1.0.1 • Published 4 years ago

express-sanitize v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

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);

npm.io npm.io npm.io npm.io npm.io