1.0.3 • Published 9 years ago
express-then v1.0.3
express-then
Express handlers with promise support.
Example
const then = require('express-then')
app.get('/', then(async (req, res) => {
await foo()
await bar()
res.end()
}))
Express handlers with promise support.
const then = require('express-then')
app.get('/', then(async (req, res) => {
await foo()
await bar()
res.end()
}))