0.0.4 • Published 8 years ago
express-await v0.0.4
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
})