{"name":"kefir","version":"3.8.8","description":"Reactive Programming library for JavaScript inspired by Bacon.js and RxJS with focus on high performance and low memory usage","main":"dist/kefir.js","module":"dist/kefir.esm.js","scripts":{"prettify":"prettier --write '{src,configs,test}/**/*.js' '*.js'","prettier-check":"prettier --list-different '{src,configs,test}/**/*.js' '*.js'","build-js":"rollup -c ./configs/rollup.dev.js && rollup -c ./configs/rollup.esm.js && rollup -c ./configs/rollup.prod.js && cp kefir.js.flow dist/","build-docs":"node configs/docs.js","deploy-docs":"git checkout gh-pages && git merge master && npm run build && git add . && git commit -m 'build all' && git push && git checkout master","clean":"rm -r dist index.html || true","build":"npm run clean && npm run build-js && npm run build-docs","test":"npm run prettier-check && rollup -c ./configs/rollup.dev.js && mocha && flow check","test-only":"rollup -c ./configs/rollup.dev.js && mocha","test-debug":"rollup -c ./configs/rollup.dev.js && mocha --inspect-brk"},"keywords":["frp","bacon","bacon.js","kefir","kefir.js","functional","reactive","stream","streams","EventStream","Rx","RxJs","Observable"],"author":{"name":"Roman Pominov","email":"rpominov@gmail.com"},"homepage":"https://github.com/kefirjs/kefir","repository":{"type":"git","url":"git+ssh://git@github.com/kefirjs/kefir.git"},"license":"MIT","devDependencies":{"babel-preset-es2015-loose-rollup":"^7.0.0","chai":"^4.1.2","chai-kefir":"^2.0.1","flow-bin":"^0.100.0","inquirer":"^6.3.1","mocha":"^6.1.4","prettier":"^1.18.2","pug":"^2.0.3","rollup":"^0.41.6","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-node-resolve":"^3.0.0","rollup-plugin-uglify":"^1.0.1","rxjs":"^6.5.2","semver":"^6.1.1","sinon":"^7.3.2","sinon-chai":"^3.3.0","symbol-observable":"^1.2.0","transducers-js":"^0.4.174","transducers.js":"^0.3.2","zen-observable":"^0.8.14"},"gitHead":"7cda420b2c92d3525ca7a9070690d805b1707578","bugs":{"url":"https://github.com/kefirjs/kefir/issues"},"_id":"kefir@3.8.8","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"shasum":"235932ddfbed422acebf5d7cba503035e9ea05c5","size":84636,"noattachment":false,"tarball":"https://registry.npmmirror.com/kefir/-/kefir-3.8.8.tgz","integrity":"sha512-xWga7QCZsR2Wjy2vNL3Kq/irT+IwxwItEWycRRlT5yhqHZK2fmEhziP+LzcJBWSTAMranGKtGTQ6lFpyJS3+jA=="},"_npmUser":{"name":"jamesdigioia","email":"jamesorodig@gmail.com"},"directories":{},"maintainers":[{"name":"jamesdigioia","email":"jamesorodig@gmail.com"},{"name":"pozadi","email":"rpominov@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/kefir_3.8.8_1606605699227_0.5363897770392423"},"_hasShrinkwrap":false,"publish_time":1606605699476,"_cnpm_publish_time":1606605699476,"_cnpmcore_publish_time":"2021-12-17T00:24:56.900Z","readme":"# Kefir\n\n\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\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 Status](https://travis-ci.org/kefirjs/kefir.svg?branch=master)](https://travis-ci.org/kefirjs/kefir)\n[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/pozadi/kefir?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)\n\n\n\n# Installation\n\nKefir available as NPM and Bower packages, as well as simple files download.\n\n### NPM\n```sh\nnpm install kefir\n```\n\n### Bower\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\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) {\n numberStream.onValue(x => {\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 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"}