wwl-js-app-context

Just a very simple context object implementation. It handles parentContext as well as the switch to be a root context.

Usage no npm install needed!

<script type="module">
  import wwlJsAppContext from 'https://cdn.skypack.dev/wwl-js-app-context';
</script>

README

wwl-node-app-context

Just a very simple context object implementation. It handles parentContext as well as the switch to be a root context.

Options:

  • parentContext
  • root [true|false]

Methods:

  • configure - returns a promise
  • getParentContext - returns self or parentContext