Kefir.js Playground

Kefir — is a Reactive Programming library for JavaScript inspired by Bacon.js and RxJS, with focus on high performance and low memory usage.

To visualize the observables we developed a small API. Provided api/v0.3 package has a function kefirObserver(title: string): observer, that you can call to create a kefir observer, which will display its state on the time chart in the right part of the screen.

If you are looking for a place to start — take a look at interval example.


const { kefirObserver } = require('api/v0.3');
const Kefir = require('kefir');

Kefir
  .sequentially(10, [1, 2, 3])
  .observe(kefirObserver());

External links