Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
kefir
Advanced tools
Readme
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.
Kefir available as NPM and Bower packages, as well as simple files download.
npm install kefir
bower install kefir
See downloads section in the docs.
Also available on jsDelivr.
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:
// @flow
import Kefir from 'kefir'
function foo(numberStream: Kefir.Observable<number>) {
numberStream.onValue(x => {
// Flow knows x is a number here
});
}
const s = 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 bundlers
npm run test # runs all the checks
npm run test-only # runs only unit tests without other checks
npm run test-debug # runs tests with a chrome inspector connected to the node process
npm run build-docs # builds the documentation html file
FAQs
Reactive Programming library for JavaScript inspired by Bacon.js and RxJS with focus on high performance and low memory usage
The npm package kefir receives a total of 43,570 weekly downloads. As such, kefir popularity was classified as popular.
We found that kefir demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.