Express-compatible body parsing middleware for Node.js (v1.17.0) that extends the popular body-parser module with MessagePack (msgpack) support. In addition to JSON, URL-encoded, raw, and text parsers, it provides a dedicated msgpack parser for binary MessagePack requests. Maintained as a fork, it includes automatic gzip/deflate inflation, configurable limits, and strict mode. Compatible with Node >= 0.8, intended for use with Express or Connect.
npm install body-parser-with-msgpackNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates an Express app that parses JSON and MessagePack request bodies, echoes back the parsed body.
If you need full MessagePack support (e.g., timestamps, custom types), consider using msgpack5 directly or another library.
Use Buffer.isBuffer(req.body) to detect binary data, or rely on msgpack5 behavior.
Use 'inflate' option instead of 'infalting'.
Use the recommended modules for multipart parsing.
Run 'npm install body-parser-with-msgpack' and use 'const bodyParser = require("body-parser-with-msgpack")'.Install the package: 'npm install body-parser-with-msgpack' or if using npm < 3, install msgpack5 manually: 'npm install msgpack5'.
Add 'const bodyParser = require("body-parser-with-msgpack")' at the top of your file.