Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

swagger-node-runner-sanitizer

alexcicioc5ISC1.0.1

Swagger node runner fitting to sanitize requests for XSS and NoSQL injections

readme

swagger-node-runner-sanitizer

This module is a fitting for swagger-node-runner

See the example folder in how to implement this

What it does ?

This is a middleware that sanitizes your request to prevent XSS (using the sanitizer plugin) and NoSQL injection by filtering keys in objects that begin with a $ sign or contain a . and replacing them with the html codes.