Socket
Socket
Sign inDemoInstall

body-parser-bson

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

body-parser-bson

BSON body parser


Version published
Weekly downloads
12
increased by50%
Maintainers
1
Weekly downloads
 
Created
Source

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:

  • BSON body parser

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

FAQs

Package last updated on 31 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc