smz-sanitizer

Inpur sanitizer for Express.js

Usage no npm install needed!

<script type="module">
  import smzSanitizer from 'https://cdn.skypack.dev/smz-sanitizer';
</script>

README

smz-sanitizer

Simple input sanitizer for Express.js

Usage

npm i smz-sanitizer
const express = require("express");
const sanitizer = require("smz-sanitizer");

const app = express();
app.use(express.urlencoded({ extended: true }), express.json(), sanitizer);

// ...