-1

I am trying avoid malicious input values in nodejs any npm package is there.can any one help me on this.

Thanks Ram

Ramakrishnan
  • 61
  • 1
  • 2
  • 11
  • What do you qualify as "malicious input" ? If you want to avoid XSS, [this answer](https://stackoverflow.com/a/44195856/3670132) should fit. If you want to avoid SQL injection, use prepared statements. – Seblor Jul 24 '19 at 08:21

1 Answers1

1

I have been using this one and find it very convenient.

https://www.npmjs.com/package/express-sanitize-escape

npm i --save express-sanitize-escape

Saqib
  • 704
  • 3
  • 18
Alexandre Senges
  • 1,474
  • 1
  • 13
  • 22