Installation
import * as ET from 'express-toolbox'
Usage
router.get('/', ET.try$(async (req, res, next) => {
...
}))
ET.hang(router).until(async () => {
await initializeDatabase()
await ....
})
import * as ET from 'express-toolbox'
router.get('/', ET.try$(async (req, res, next) => {
...
}))
ET.hang(router).until(async () => {
await initializeDatabase()
await ....
})
npm i express-toolbox
11
0.1.1
ISC