- Notifications
You must be signed in to change notification settings - Fork97
A Reactive Programming library for JavaScript
License
NotificationsYou must be signed in to change notification settings
kefirjs/kefir
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Kefir — is an Reactive Programming library for JavaScriptinspired byBacon.jsandRxJSwith focus on high performance and low memory usage.
For docs visitkefirjs.github.io/kefir.See alsoDeprecated API docs.
Kefir available as NPM and Bower packages, as well as simple files download.
npm install kefir
bower install kefir
Seedownloads section in the docs.
Also available onjsDelivr.
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:
//@flowimportKefirfrom'kefir'functionfoo(numberStream:Kefir.Observable<number>){numberStream.onValue(x=>{// Flow knows x is a number here})}consts=Kefir.constant(5)// Flow can automatically infer the type of values in the stream and determine// that `s` is of type Kefir.Observable<number> here.foo(s)
npm run prettify# makes source code pretty (you must run it before a PR could be merged)npm run build-js# builds js bundlersnpm runtest# runs all the checksnpm run test-only# runs only unit tests without other checksnpm run test-debug# runs tests with a chrome inspector connected to the node processnpm run build-docs# builds the documentation html file
About
A Reactive Programming library for JavaScript
Topics
Resources
License
Stars
Watchers
Forks
Packages0
No packages published