70
rated 0 times
[
77]
[
7]
/ answers: 1 / hits: 16994
/ 5 Years ago, wed, july 10, 2019, 12:00:00
Hey I am trying to comprehend what does express-async-handler do?
It was used in one of the repo I was looking.
From their docs, it says
Simple middleware for handling exceptions inside of async express
routes and passing them to your express error handlers.
Link for the repo: https://www.npmjs.com/package/express-async-handler
Can someone please explain this with example?
More From » node.js