Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Reactive Programming library for JavaScript

License

NotificationsYou must be signed in to change notification settings

kefirjs/kefir

Repository files navigation

Kefir

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.

GitHub licensenpm versionBuildGitter

Installation

Kefir available as NPM and Bower packages, as well as simple files download.

NPM

npm install kefir

Bower

bower install kefir

Download

Seedownloads section in the docs.

Also available onjsDelivr.

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:

//@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)

Development

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

[8]ページ先頭

©2009-2025 Movatter.jp