'bodyParser' is deprecated. vscode code example
Example 1: vs code shows bodyparser deprecated
app.use(express.urlencoded()); //Parse URL-encoded bodies
Example 2: vs code shows bodyparser deprecated
app.use(express.json()); //Used to parse JSON bodies