Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 613 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 613 Bytes

npm version Build Status

express-url-cleaner

Express middleware for sanitizing urls with the sanitize module

Usage

  • Requires node 6+
  • $ yarn install express-url-cleaner --save or $ npm install express-url-cleaner --save
const express = require('express'),
    urlCleaner = require('express-url-cleaner'),
    app = express();

app.use(urlCleaner());