{"library":"koa-body","type":"library","category":null,"description":"koa-body is a robust middleware for the Koa.js web framework designed to parse various request body types. It supports `multipart/form-data` for file uploads, `application/x-www-form-urlencoded`, and `application/json` payloads. Functionally, it offers similar capabilities to a combination of Express's `bodyParser` and `multer`. The current stable version is 7.0.1, and the project is actively maintained by the Koa community, demonstrating a healthy release cadence with recent updates in 2025. Key differentiators include its seamless integration with Koa's middleware system, comprehensive content-type support, and flexible options for patching the parsed body to Koa's context (`ctx.request.body`) or Node's native request object (`ctx.req.body`), alongside configurable limits for body and file sizes.","language":"javascript","status":"active","version":"7.0.1","tags":["javascript","koa","urlencoded","multipart","json","body","parser","form","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install koa-body","imports":["import { koaBody } from 'koa-body';","const { koaBody } = require('koa-body');","import type { KoaBodyMiddlewareOptions } from 'koa-body';"]},{"cmd":"yarn add koa-body","imports":[]},{"cmd":"pnpm add koa-body","imports":[]}],"homepage":null,"github":"https://github.com/koajs/koa-body","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/koa-body","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/koa-body/compatibility"}}