Skip to content
/ f-express Public

express wrapper for f-promise

License

Notifications You must be signed in to change notification settings

Sage/f-express

Repository files navigation

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.