Bacon.js Playground

A small functional reactive programming lib for JavaScript. Turns your event spaghetti into clean and declarative feng shui bacon, by switching from imperative to functional.

const { baconObserver } = require('api/v0.3');
const Bacon = require('baconjs');

  .interval(5, '+')

⚙️ API notes

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

🔗 External links