How can I remove dependency on body-parser?

Issue

I already installed express module and body-parser now I can use express to get all the things I required from the user and there’s no need of body-parser anymore, so how do I remove it?
when i start my server

Solution

You can remove it with npm uninstall body-parser when you are in the folder where package.json file lives.

Answered By – srknzl

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published