Body parser Library Use and need

What is the difference between express.urlencoded( extended true) and bodyparser.urlencoded(extended true).
Arnav bhaiya in his tutorial has used express.urlencoded( extended true), However, I came across this body-parser library which does the same.
Is there any difference btw the two

In earlier versions, Express framework came with a lot of middlewares bundled in it. But in Express v4.0 they took out some middlewares and made them separate packages. Body-Parser was one of them but later, Body-parser was again added as a core package in Express v4.16 because people wanted it bundled with Express like before. So if you are using the latest version of Express you don’t need to use body-parser separately.

You can directly use:- app.use(express.urlencoded({ extended: false }));