body-parser-bson

1.0.1 • Public • Published

body-parser-bson

Node.js BSON body parsing middleware

Parse incoming request bodies with Content-Type: application/bson in a middleware before your handlers, available under the req.body property.

This module provides the following parsers:

Installation

$ npm install body-parser-bson

API

var bodyParserBson = require('body-parser-bson')

bodyParser.bson()

Returns middleware that only parses bson.

A new body object containing the parsed data is populated on the request object after the middleware (i.e. req.body).

Readme

Keywords

none

Package Sidebar

Install

npm i body-parser-bson

Weekly Downloads

40

Version

1.0.1

License

ISC

Last publish

Collaborators

  • shipper