expressjs / body-parser

Node.js body parsing middleware

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

case conversion

juliocbcotta opened this issue · comments

Hello there,
would this package support camelCase to snake_case conversion and vice-versa?
Would it be a feasible feature request?
Thanks folks.

Hi @BugsBunnyBR. That sounds like a request outside the scope of this package. You could consider publishing a utility for this and then creating a middleware you can use which converts req.body. Hope that helps!