{"id":13453780,"url":"https://github.com/kefirjs/kefir","last_synced_at":"2025-05-14T03:05:15.151Z","repository":{"id":16672880,"uuid":"19428677","full_name":"kefirjs/kefir","owner":"kefirjs","description":"A Reactive Programming library for JavaScript","archived":false,"fork":false,"pushed_at":"2024-06-20T00:40:05.000Z","size":9540,"stargazers_count":1881,"open_issues_count":40,"forks_count":97,"subscribers_count":56,"default_branch":"master","last_synced_at":"2025-04-30T22:14:32.228Z","etag":null,"topics":["frp","functional-programming","javascript","kefir","observable","reactive","stream"],"latest_commit_sha":null,"homepage":"https://kefirjs.github.io/kefir/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kefirjs.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-05-04T14:52:16.000Z","updated_at":"2025-04-23T08:17:25.000Z","dependencies_parsed_at":"2024-11-09T16:11:02.246Z","dependency_job_id":null,"html_url":"https://github.com/kefirjs/kefir","commit_stats":{"total_commits":1163,"total_committers":47,"mean_commits":24.74468085106383,"dds":"0.14531384350816856","last_synced_commit":"d1c51fd56bb1997f66faed98c58f1701791ed1ed"},"previous_names":[],"tags_count":84,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kefirjs%2Fkefir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kefirjs%2Fkefir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kefirjs%2Fkefir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kefirjs%2Fkefir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kefirjs","download_url":"https://codeload.github.com/kefirjs/kefir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253625855,"owners_count":21938209,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frp","functional-programming","javascript","kefir","observable","reactive","stream"],"created_at":"2024-07-31T08:00:47.137Z","updated_at":"2025-05-14T03:05:15.112Z","avatar_url":"https://github.com/kefirjs.png","language":"JavaScript","funding_links":[],"categories":["Packages","Repository","JavaScript","包","目录","Functional programming","javascript","Related Reactive Libraries"],"sub_categories":["Functional programming","函数式编程","Podcasts"],"readme":"# \u003ca href=\"http://kefirjs.github.io/kefir/\"\u003e\u003cimg src=\"http://kefirjs.github.io/kefir/Kefir-with-bg.svg\" width=\"60\" height=\"60\"\u003e\u003c/a\u003e Kefir\n\nKefir — is an Reactive Programming library for JavaScript\ninspired by [Bacon.js](https://github.com/baconjs/bacon.js)\nand [RxJS](https://github.com/Reactive-Extensions/RxJS)\nwith focus on high performance and low memory usage.\n\nFor docs visit [kefirjs.github.io/kefir](http://kefirjs.github.io/kefir).\nSee also [Deprecated API docs](https://github.com/kefirjs/kefir/blob/master/deprecated-api-docs.md).\n\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/kefirjs/kefir/blob/master/LICENSE.txt)\n[![npm version](https://img.shields.io/npm/v/kefir.svg?style=flat)](https://www.npmjs.com/package/kefir)\n[![Build](https://github.com/kefirjs/kefir/actions/workflows/node.js.yml/badge.svg)](https://github.com/kefirjs/kefir/actions/workflows/node.js.yml)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pozadi/kefir?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge)\n\n# Installation\n\nKefir available as NPM and Bower packages, as well as simple files download.\n\n### NPM\n\n```sh\nnpm install kefir\n```\n\n### Bower\n\n```sh\nbower install kefir\n```\n\n### Download\n\nSee [downloads](https://kefirjs.github.io/kefir/#downloads) section in the docs.\n\nAlso available on [jsDelivr](http://www.jsdelivr.com/#!kefir).\n\n# Browsers support\n\nWe don't support IE8 and below, aside from that Kefir should work in any browser.\n\n## [Flow](https://flowtype.org/)\n\nThe NPM package ships with Flow definitions. So you can do something like this if you use Flow:\n\n```js\n// @flow\n\nimport Kefir from 'kefir'\n\nfunction foo(numberStream: Kefir.Observable\u003cnumber\u003e) {\n  numberStream.onValue(x =\u003e {\n    // Flow knows x is a number here\n  })\n}\n\nconst s = Kefir.constant(5)\n// Flow can automatically infer the type of values in the stream and determine\n// that `s` is of type Kefir.Observable\u003cnumber\u003e here.\nfoo(s)\n```\n\n# Development\n\n```sh\nnpm run prettify    # makes source code pretty (you must run it before a PR could be merged)\nnpm run build-js    # builds js bundlers\nnpm run test        # runs all the checks\nnpm run test-only   # runs only unit tests without other checks\nnpm run test-debug  # runs tests with a chrome inspector connected to the node process\nnpm run build-docs  # builds the documentation html file\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkefirjs%2Fkefir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkefirjs%2Fkefir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkefirjs%2Fkefir/lists"}