Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 297 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 297 Bytes

Express Trimmer

An Express middleware to trim all incoming request values.

Installation

npm i express-trimmer

How to use

const trimmer = require('express-trimmer');

...
// app initialization
// use body parser
...

app.use(trimmer)

License

MIT © Ankit Balyan