{"library":"express-msgpack","type":"library","category":null,"description":"express-msgpack is an Express middleware that provides transparent support for MessagePack (msgpack) content types, enabling developers to handle `application/msgpack` requests and responses using standard Express `req.body` and `res.json` patterns. It automatically decodes incoming MessagePack payloads into JavaScript objects and encodes outgoing JavaScript objects into MessagePack format when clients request it via the `Accept` header. The current stable version is 6.0.0, which mandates Node.js 20.12.0 or higher. The package is actively maintained with releases frequently aligned with Node.js version updates and new features such as `allowUnacceptableResponse` and `limit` options. A key differentiator is its seamless integration with existing Express API patterns, which reduces boilerplate, and the flexibility to utilize custom MessagePack encoder/decoder libraries.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","express","middleware","messagepack","msgpack","json","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install express-msgpack","imports":["import msgpack from 'express-msgpack'","const msgpack = require('express-msgpack').default","import type { ExpressMsgpackOptions } from 'express-msgpack'"]},{"cmd":"yarn add express-msgpack","imports":[]},{"cmd":"pnpm add express-msgpack","imports":[]}],"homepage":null,"github":"https://github.com/textbook/express-msgpack","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/express-msgpack","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/express-msgpack/compatibility"}}