# parsed-body

> Get the parsed body of a request

Latest version **1.0.0** (published 2015-05-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install parsed-body
pnpm add parsed-body
yarn add parsed-body
bun add parsed-body
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-05-13 |
| First published | 2015-05-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Jan Krems |
| Maintainers | jkrems, quinnjs |
| Keywords | promise, request, body, parser |

## Links

- npm: https://www.npmjs.com/package/parsed-body
- Repository: https://github.com/quinnjs/parsed-body
- Homepage: https://github.com/quinnjs/parsed-body#readme
- Issues: https://github.com/quinnjs/parsed-body/issues
- npm.io page: https://npm.io/package/parsed-body

## Dependencies (1)

- [raw-body](https://npm.io/package/raw-body.md) ^2.0.1

## Alternatives

- [babylon](https://npm.io/package/babylon.md) — 5.1M weekly downloads
- [csscolorparser](https://npm.io/package/csscolorparser.md) — 3.7M weekly downloads
- [expr-eval-fork](https://npm.io/package/expr-eval-fork.md) — 1.5M weekly downloads
- [@leeoniya/ufuzzy](https://npm.io/package/@leeoniya/ufuzzy.md) — 247.7K weekly downloads
- [xml-parser](https://npm.io/package/xml-parser.md) — 78.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-05-13
- 0.0.0 — 2015-05-12

## README

# parsed-body

## Install

```bash
npm install --save parsed-body
```

## Usage

```js
import parsedBody from 'parsed-body/json';

async req => {
  const body = await parsedBody(req);
  console.log('body:', body);
}
```

**Important:** This consumes the body, so it isn't always safe to call it multiple times.
If you use the same version of `parsed-body`, it will work though.

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