1.1.1 • Published 3 years ago

@matheus-rodrigues00/sanitize v1.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@matheus-rodrigues00/sanitize

npm (scoped)

Sanitizes a string removing sql keywords

Install

npm install @matheus-rodrigues00/sanitize

Usage

const sanitize = require("@matheus-rodrigues00/sanitize");

const input = "login: drop table";

const str = sanitize(input);

console.log(str);
//=> "login:"
1.1.1

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago