@krvinay/multipart-body-parser

2.0.1 • Public • Published

multipart-body-parser

Express Multipart body data Parser: parse multipart form data to valid array consisting key value pair with file buffer.

Install

  npm install @krvinay/multipart-body-parser

Usage (Global)

multipart_parser = require("@krvinay/multipart-body-parser");
app = require("express")();
app.use(multipart_parser);

Usage (Middleware)

multipart_parser = require("@krvinay/multipart-body-parser");
app = require("express")();
app.post("/", multipart_parser, (req, res, next) => {
  console.log(req.body);
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    7
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.1
    7
  • 2.0.0
    4
  • 1.0.0
    14

Package Sidebar

Install

npm i @krvinay/multipart-body-parser

Weekly Downloads

15

Version

2.0.1

License

ISC

Unpacked Size

2.96 kB

Total Files

3

Last publish

Collaborators

  • krvinay