It is a small frontend library that seeks to find in the fields of the forms some sql injection
If any value is detected with injection sql it will return true, otherwise it will return false
result of the following line Import project with react , vue ,angular
import sqlInjection from 'sql-injections'
Import project with node
const sqlInjection require sqlInjection
let text = "SELECT * FROM "
let result = sqlInjection.hasSql(text)
console.log(result)
true
let text = "Your name "
let result = sqlInjection.hasSql(text)
console.log(result)
false