using what is instead of body-parser in nodejs code example
Example 1: body parser npm
var bodyParser = require('body-parser')
Example 2: body parser npm
const jsonParser = bodyParser.json()
const urlencodedParser = bodyParser.urlencoded({ extended: false })