Express wrapper for f-promise
f-express
is a companion package for f-promise
.
npm install --save f-express
Just import f-express instead of express.
import * as express from 'f-express';
const app = express(); // as usual
// more ...
f-express
provides the same API as express
.
The only difference is that you can use f-promise
's wait
call inside f-express
handlers.
See this unit test for an example.
MIT.