@bayerjs/rxjs-debug

Debug operator for observables

Usage no npm install needed!

<script type="module">
  import bayerjsRxjsDebug from 'https://cdn.skypack.dev/@bayerjs/rxjs-debug';
</script>

README

@bayerjs/rxjs-debug

Debug RxJS Observables with the debug package. Used internally by the Bayer.js library to, well, debug observables.

Usage

const values$ = of(something);
values$.pipe(debug("@bayerjs/core", "Value from something"));

The debug operator will use the first argument as the name for debug, and the second as a message to print on every value, as well as when erroring out or completing.