1.0.9 • Published 2 years ago

pg-sanitize v1.0.9

Weekly downloads
24
License
ISC
Repository
github
Last release
2 years ago

PG Sanitize

We used this libary for prevention our production SQL statement. Just need to purify SQL Query befor send it to execution method.

How to used

 import { sanitizeSQL } from 'pg-sanitize'
 let SQL = 'SELECT * from username; DROP TABLE username'
 SQL = sanitizeSQL(SQL);
 
 // This helper is not remove DROP TABLE but Query will be exception beacuse syntax is not correct.
1.0.9

2 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago