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
Asked
Active
Viewed 1,776 times
2 Answers
1
If your express version is greater than 4.16.0, then you do not need body parser at all as mentioned here -

Pawan Sharma
- 1,842
- 1
- 14
- 18
0
You can remove it with npm uninstall body-parser
when you are in the folder where package.json file lives.

srknzl
- 776
- 5
- 13