0.4.0 • Published 10 months ago

bparse v0.4.0

Weekly downloads
74
License
MIT
Repository
github
Last release
10 months ago

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:

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.

0.4.0

10 months ago

0.3.0

11 months ago

0.3.1

11 months ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.3

5 years ago

0.1.0

5 years ago

0.0.3

6 years ago

0.0.2

7 years ago

0.0.1

7 years ago