Skip to content

Instantly share code, notes, and snippets.

@leafac
Created February 24, 2024 15:10
Show Gist options
  • Save leafac/482a2fe7750d8c8cc385c4b90d1e30d2 to your computer and use it in GitHub Desktop.
Save leafac/482a2fe7750d8c8cc385c4b90d1e30d2 to your computer and use it in GitHub Desktop.
HTTP body parsing
- `application/x-www-form-urlencoded`
  - `URLSearchParams`
  - <https://github.com/expressjs/body-parser>.
- `multipart/form-data`
  - <https://github.com/mscdex/busboy>.
    - <https://github.com/expressjs/multer>.
    - <https://github.com/richardgirges/express-fileupload>.
  - <https://github.com/node-formidable/formidable>.
    - Does too much (plugins, and so forth).
  - <https://github.com/pillarjs/multiparty>.
    - They recommend using `busboy`.
    - <https://github.com/expressjs/connect-multiparty>.
  - <https://github.com/hapijs/pez>.
    - No documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment