Middlewares in ExpressJS and How to use them
Middlewares are just functions that have access to the request object (`req`) , the response object (`res`), and the (`next`) middleware function
May 5, 20224 min read115

Search for a command to run...
Articles tagged with #javascript
Middlewares are just functions that have access to the request object (`req`) , the response object (`res`), and the (`next`) middleware function

I was building an API in Nodejs,then I encountered a challenge, I needed to transform some of the response object's properties into an array.
