qcontext

Qumram module makes up a context for every request with various helper functions

Usage no npm install needed!

<script type="module">
  import qcontext from 'https://cdn.skypack.dev/qcontext';
</script>

README

Qcontext

Add a context to every request with various helper functions

  • Makes a unique request id available in each request
  • logging functions in context that are bound to the request id
  • routing asynchronous errors to express error handling middlewares

Installation

Install using npm:

npm install qcontext