# bparse

> HTTP request body parser

Latest version **0.4.0** (published 2024-09-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install bparse
pnpm add bparse
yarn add bparse
bun add bparse
```

## Health

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

Positive: no vulnerabilities.

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

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.0 |
| Published | 2024-09-01 |
| First published | 2018-09-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Vidar Eldøy |
| Maintainers | eldoy |

## Links

- npm: https://www.npmjs.com/package/bparse
- Repository: https://github.com/eldoy/bparse
- Homepage: https://github.com/eldoy/bparse#readme
- Issues: https://github.com/eldoy/bparse/issues
- npm.io page: https://npm.io/package/bparse

## Dependencies (1)

- [formidable](https://npm.io/package/formidable.md) git+https://git@github.com/eldoy/formidable.git

## Recent versions

- 0.4.0 (latest) — 2024-09-01
- 0.3.1 — 2024-08-01
- 0.3.0 — 2024-08-01
- 0.2.2 — 2022-12-03
- 0.2.1 — 2022-05-09
- 0.2.0 — 2022-05-09
- 0.1.9 — 2022-03-06
- 0.1.8 — 2021-02-23
- 0.1.7 — 2021-02-09
- 0.1.5 — 2020-09-27
- 0.1.4 — 2020-08-26
- 0.1.3 — 2020-08-25
- 0.1.2 — 2020-08-25
- 0.1.1 — 2020-08-25
- 0.1.0 — 2020-08-25
- … 3 more at https://npm.io/package/bparse/versions

## README

# HTTP Request Body Parser for Node.js

Based on formidable, this body parser will give you parameters and files posted to your Node.js server.

### INSTALLATION
```npm i bparse``` or ```yarn add bparse```

### USAGE
On your Node.js server:
```javascript
const bparse = require('bparse')

// With default options
await bparse(req)

// With options, same as in node formidable
const options = { maxFileSize: 20000 * 1024 * 1024 }
await bparse(req, options)

// Request parameters
req.params

// Request uploaded files
req.files
```
Enjoy! MIT Licensed.

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