1.0.10 • Published 8 months ago

pg-sanitize v1.0.10

Weekly downloads
24
License
ISC
Repository
github
Last release
8 months 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.10

8 months ago

1.0.9

3 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago