express-async-await
Use async/await in your routes without polluting / wrapping them.
Usage
Pass the app to the library and we'll monkey-patch it for you:
const aa =const app =appappapp
Now app.$method(route, fn)
support async functions out of the box!
(have a look at the example app)
Installation
npm i express-async-await
npm add express-async-await