f-express

express wrapper for f-promise

Usage no npm install needed!

<script type="module">
  import fExpress from 'https://cdn.skypack.dev/f-express';
</script>

README

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.