DEV Community

Discussion on: You probably don't need body-parser in your Express apps

Collapse
 
technolaaji profile image
Mohamad Kalaaji

It has been there for quite some time 🙃 body parser became part of express

You can use both, they perform the exact same job but one thing you need to keep in mind that if there is an issue with the express build in body parser then you have to update express as whole, as for the independent body parser package if there is an issue with it then you have to update that package only

Collapse
 
taylorbeeston profile image
Taylor Beeston

That is a good point that I hadn't thought of. Though at least mostly in my limited experience, express upgrades have been pretty painless