express-await
v0.0.4
Published
A wrap for express to use es2016 async function with babel
Downloads
2
Readme
express-await
A wrap for express to use es2016 async function with error handling.
Example:
import express from 'express-await'
let app = express()
app.getAsync(async (req, res) => {
await ...
})
app.use(err => {
// error handling
})