1.0.1 • Published 8 years ago

body-parser-bson v1.0.1

Weekly downloads
47
License
ISC
Repository
-
Last release
8 years ago

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:

$ 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).