-
Notifications
You must be signed in to change notification settings - Fork 15.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How come only bodyParser.json is exposed? #3674
Comments
I think the general idea was to remove all these originally, but the I do think, if the choice is to include any, then all should be exposed. But maybe there was some question about this someone else would remember better. |
The others are being exposed in Express 4.17. Follow the release and what it includes in #3778 |
This module depends on body-parser and exposes
bodyParser.json
. However, if someone wanted to get the pure text result of the output, or use another method from body-parser, they'd have to install it themselves. Why not just expose all of the functions and save the user an extra install? Or not expose anything, and make the module lighter?The text was updated successfully, but these errors were encountered: