1. kefir
Reactive Programming library for JavaScript inspired by Bacon.js and RxJS with focus on high performance and low memory usage
kefir
Package: kefir
Created by: kefirjs
Last modified: Sun, 19 Jun 2022 08:19:12 GMT
Version: 3.8.8
License: MIT
Downloads: 209,800
Repository: https://github.com/kefirjs/kefir

Install

npm install kefir
yarn add kefir

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.

GitHub license
npm version
Build Status
Gitter

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.

Flow

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);

Development

 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

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin