@neeraj_sharma_nks/sql-injection-identifier
v1.0.2
Published
This package is used to identify the SQL Injection in request body and query parameters.
Readme
How to use
This package can be used as a middleware in an express application to detect and block SQL injection attacks.
Here is an example of how to use it:
const express = require("express");
const {
sqlInjectionMiddleware,
} = require("@neeraj_sharma_nks/sql-injection-identifier");
const app = express();
app.use(sqlInjectionMiddleware);
app.get("/", (req, res) => {
res.send("Hello World!");
});
app.listen(3000, () => {
console.log("Example app listening on port 3000!");
});