# @adonisjs/bodyparser

> BodyParser middleware for AdonisJS http server to read and parse request body

Latest version **11.0.4** (published 2026-05-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @adonisjs/bodyparser
pnpm add @adonisjs/bodyparser
yarn add @adonisjs/bodyparser
bun add @adonisjs/bodyparser
```

## Health

**Score 60/100 (C)** — status: active.

Positive: esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 11.0.4 |
| Published | 2026-05-25 |
| First published | 2017-06-22 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM |
| Node | >=24.0.0 |
| Dependencies | 9 |
| Unpacked size | 93.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 35 |
| Author | Harminder Virk |
| Maintainers | romainlanz, virk, julien-r44 |
| Keywords | adonisjs, bodyparser, multipart |

## Links

- npm: https://www.npmjs.com/package/@adonisjs/bodyparser
- Repository: https://github.com/adonisjs/bodyparser
- Homepage: https://github.com/adonisjs/bodyparser#readme
- Issues: https://github.com/adonisjs/bodyparser/issues
- npm.io page: https://npm.io/package/@adonisjs/bodyparser

## Dependencies (9)

- [raw-body](https://npm.io/package/raw-body.md) ^3.0.2
- [file-type](https://npm.io/package/file-type.md) ^22.0.1
- [inflation](https://npm.io/package/inflation.md) ^2.1.0
- [media-typer](https://npm.io/package/media-typer.md) ^1.1.0
- [@poppinss/qs](https://npm.io/package/@poppinss/qs.md) ^6.15.0
- [@poppinss/utils](https://npm.io/package/@poppinss/utils.md) ^7.0.1
- [@poppinss/macroable](https://npm.io/package/@poppinss/macroable.md) ^1.1.2
- [@poppinss/middleware](https://npm.io/package/@poppinss/middleware.md) ^3.2.7
- [@poppinss/multiparty](https://npm.io/package/@poppinss/multiparty.md) ^3.0.0

## Recent versions

- 11.0.4 (latest) — 2026-05-25
- 11.0.0-next.9 (next) — 2026-02-05
- 2.3.0 (legacy) — 2021-03-26
- 6.0.0 (alpha) — 2021-02-13
- 3.0.3 (v5) — 2019-07-10
- 10.1.5 — 2026-05-22
- 11.0.3 — 2026-05-22
- 11.0.2 — 2026-05-19
- 11.0.1 — 2026-04-04
- 11.0.0 — 2026-02-25
- 10.1.4 — 2026-02-23
- 10.1.3 — 2026-02-05
- 11.0.0-next.8 — 2026-02-01
- 11.0.0-next.7 — 2026-02-01
- 11.0.0-next.6 — 2026-01-02
- … 128 more at https://npm.io/package/@adonisjs/bodyparser/versions

## README

# @adonisjs/bodyparser

<br />

[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]

## Introduction
This repo provides the BodyParser middleware to process AdonisJS HTTP request body. The middleware has parsers for **JSON**, **URLencoded form**, and **Multipart** content types.

## Official Documentation
The documentation is available on the [AdonisJS website](https://docs.adonisjs.com/guides/bodyparser-middleware)

## Contributing
One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.

We encourage you to read the [contribution guide](https://github.com/adonisjs/.github/blob/main/docs/CONTRIBUTING.md) before contributing to the framework.

## Code of Conduct
In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/adonisjs/.github/blob/main/docs/CODE_OF_CONDUCT.md).

## License
AdonisJS Bodyparser is open-sourced software licensed under the [MIT license](LICENSE.md).

[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/adonisjs/bodyparser/checks.yml?style=for-the-badge
[gh-workflow-url]: https://github.com/adonisjs/bodyparser/actions/workflows/checks.yml "Github action"

[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript
[typescript-url]:  "typescript"

[npm-image]: https://img.shields.io/npm/v/@adonisjs/bodyparser/latest.svg?style=for-the-badge&logo=npm
[npm-url]: https://www.npmjs.com/package/@adonisjs/bodyparser/v/latest "npm"

[license-image]: https://img.shields.io/npm/l/@adonisjs/bodyparser?color=blueviolet&style=for-the-badge
[license-url]: LICENSE.md "license"

---
_Source: https://npm.io/package/@adonisjs/bodyparser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
