Sage / f-express

express wrapper for f-promise
MIT License
0 stars 1 forks source link

f-express

Express wrapper for f-promise

f-express is a companion package for f-promise.

Installation

npm install --save f-express

Usage

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.

License

MIT.