Reputation: 5
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
Upvotes: 0
Views: 2232
Reputation: 787
You can remove it with npm uninstall body-parser
when you are in the folder where package.json file lives.
Upvotes: 0
Reputation: 2342
If your express version is greater than 4.16.0, then you do not need body parser at all as mentioned here -
https://stackoverflow.com/a/49704644/7895283
Upvotes: 1