post-normalize
v0.0.4
Published
Express middleware for populating `req.files` and `req.body` fields from `multipart/form-data` request.
Downloads
3
Maintainers
Readme
post-normalize
Express middleware for populating req.files
and req.body
fields from multipart/form-data
request.
Usage
const postNormalize = require('post-normalize'),
express = require('express'),
bodyParser = require('body-parser'),
app = express();
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({ extended: true }));
app.use(postNormalize());