GithubHelp home page GithubHelp logo

Comments (8)

tunnckoCore avatar tunnckoCore commented on May 3, 2024 1

koa-better-body have more features and cover most use-cases.

Because parsed json and urlencoded value assign to request.body.fields.

For that reason we have options for this. And yea, its better than koa-body.

from bodyparser.

dead-horse avatar dead-horse commented on May 3, 2024

body-parser only parse json and urlencoded, you can use co-busboy to parse multipart form.

from bodyparser.

tunnckoCore avatar tunnckoCore commented on May 3, 2024

@guileen you can use this https://github.com/tunnckoCore/koa-better-body

from bodyparser.

booxood avatar booxood commented on May 3, 2024

Why not integrate multipart form support?

from bodyparser.

tunnckoCore avatar tunnckoCore commented on May 3, 2024

lol, cuz' we have side projects which support these + multipart, just use them.

Talking especially for koa-better-body, in which was added extendTypes option in latest release.

from bodyparser.

booxood avatar booxood commented on May 3, 2024

@tunnckoCore Replaced koa-better-body, can't test ok.
Because parsed json and urlencoded value assign to request.body.fields.

from bodyparser.

booxood avatar booxood commented on May 3, 2024

koa-body is a choice. But have a issue when a input select multiple files.
I made a PR for the issue.

from bodyparser.

booxood avatar booxood commented on May 3, 2024

@tunnckoCore Ok, I will try.

from bodyparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.