Kefir
Kefir — is an Reactive Programming library for JavaScript
inspired by Bacon.js
and RxJS
with focus on high performance and low memory usage.
For docs visit kefirjs.github.io/kefir.
See also Deprecated API docs.
Installation
Kefir available as NPM and Bower packages, as well as simple files download.
NPM
npm install kefir
Bower
bower install kefir
Download
See downloads section in the docs.
Also available on jsDelivr.
Browsers support
We don't support IE8 and below, aside from that Kefir should work in any browser.
The NPM package ships with Flow definitions. So you can do something like this if you use Flow:
import Kefir from 'kefir'
function foo(numberStream: Kefir.Observable<number>) {
numberStream.onValue(x => {
});
}
const s = Kefir.constant(5);
foo(s);
Development
npm run prettify
npm run build-js
npm run test
npm run test-only
npm run test-debug
npm run build-docs