http-body-parse

2.0.2 • Public • Published

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);
    });

License

MIT © src.agency

Readme

Keywords

Package Sidebar

Install

npm i http-body-parse

Weekly Downloads

1

Version

2.0.2

License

MIT

Last publish

Collaborators

  • thomas-jensen