http-body-parse
v2.0.2
Published
Parse and cache the body of an http request (supports json, form data and nested form data)
Downloads
3
Readme
http-body-parse
Parse and cache the body of an http request (supports json, form data and nested form data)
Credits to the team of formidable
Installation
npm install http-body-parse
Usage
The result is cached and only ever parsed once per request.
var httpBodyParse = require('http-body-parse');
var data = httpBodyParse(request)
.then(function( fields ){
console.log(fields);
});