├── .editorconfig ├── .github ├── FUNDING.yml └── workflows │ └── main.yml ├── .gitignore ├── .markdown-doctest-setup.js ├── .npmignore ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── EXTRA_DOCS.md ├── LICENSE ├── README.md ├── browser-tests.html ├── browser-tests └── index.ts ├── dist ├── xstream.js ├── xstream.min.js └── xstream.min.js.map ├── examples ├── map-filter-take.js └── of.js ├── markdown ├── .gitignore ├── footer.md ├── header.md ├── overview.md └── readme-title.md ├── package.json ├── perf ├── combine.js ├── dataflow.js ├── filter-map-fusion.js ├── filter-map-reduce.js ├── flatten.js ├── flattenConcurrently.js ├── fold.js ├── merge.js ├── package.json └── runners.js ├── src ├── extra │ ├── buffer.ts │ ├── concat.ts │ ├── debounce.ts │ ├── delay.ts │ ├── dropRepeats.ts │ ├── dropUntil.ts │ ├── flattenConcurrently.ts │ ├── flattenConcurrentlyAtMost.ts │ ├── flattenSequentially.ts │ ├── fromDiagram.ts │ ├── fromEvent.ts │ ├── pairwise.ts │ ├── sampleCombine.ts │ ├── split.ts │ ├── throttle.ts │ └── tween.ts └── index.ts ├── tests ├── extra │ ├── buffer.ts │ ├── concat.ts │ ├── debounce.ts │ ├── delay.ts │ ├── dropRepeats.ts │ ├── dropUntil.ts │ ├── flattenConcurrently.ts │ ├── flattenConcurrentlyAtMost.ts │ ├── flattenSequentially.ts │ ├── fromDiagram.ts │ ├── fromEvent.ts │ ├── pairwise.ts │ ├── sampleCombine.ts │ ├── split.ts │ ├── throttle.ts │ └── tween.ts ├── factory │ ├── combine.ts │ ├── empty.ts │ ├── from.ts │ ├── fromArray.ts │ ├── fromObservable.ts │ ├── fromPromise.ts │ ├── merge.ts │ ├── never.ts │ ├── of.ts │ └── throw.ts ├── memoryStream.ts ├── operator │ ├── debug.ts │ ├── drop.ts │ ├── endWhen.ts │ ├── filter.ts │ ├── flatten.ts │ ├── fold.ts │ ├── imitate.ts │ ├── last.ts │ ├── map.ts │ ├── mapTo.ts │ ├── remember.ts │ ├── replaceError.ts │ ├── startWith.ts │ └── take.ts ├── stream.ts └── types.ts ├── tools ├── check-release.js ├── generate-docs.js ├── make-extras.js ├── make-factories.js ├── make-methods.js ├── make-toc.js ├── minify.js ├── release-if-necessary.sh ├── strip-comments.js ├── template-extras.md.ejs ├── template-factories.md.ejs ├── template-methods.md.ejs └── template-toc.md.ejs ├── tsconfig.json ├── tsconfig.strict.json ├── tslint.json └── yarn.lock /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/.editorconfig -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | patreon: andrestaltz 2 | -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/.gitignore -------------------------------------------------------------------------------- /.markdown-doctest-setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/.markdown-doctest-setup.js -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/.npmignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /EXTRA_DOCS.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/EXTRA_DOCS.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/README.md -------------------------------------------------------------------------------- /browser-tests.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/browser-tests.html -------------------------------------------------------------------------------- /browser-tests/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/browser-tests/index.ts -------------------------------------------------------------------------------- /dist/xstream.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/dist/xstream.js -------------------------------------------------------------------------------- /dist/xstream.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/dist/xstream.min.js -------------------------------------------------------------------------------- /dist/xstream.min.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/dist/xstream.min.js.map -------------------------------------------------------------------------------- /examples/map-filter-take.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/examples/map-filter-take.js -------------------------------------------------------------------------------- /examples/of.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/examples/of.js -------------------------------------------------------------------------------- /markdown/.gitignore: -------------------------------------------------------------------------------- 1 | generated-*.md 2 | -------------------------------------------------------------------------------- /markdown/footer.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/markdown/footer.md -------------------------------------------------------------------------------- /markdown/header.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/markdown/header.md -------------------------------------------------------------------------------- /markdown/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/markdown/overview.md -------------------------------------------------------------------------------- /markdown/readme-title.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/markdown/readme-title.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/package.json -------------------------------------------------------------------------------- /perf/combine.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/combine.js -------------------------------------------------------------------------------- /perf/dataflow.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/dataflow.js -------------------------------------------------------------------------------- /perf/filter-map-fusion.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/filter-map-fusion.js -------------------------------------------------------------------------------- /perf/filter-map-reduce.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/filter-map-reduce.js -------------------------------------------------------------------------------- /perf/flatten.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/flatten.js -------------------------------------------------------------------------------- /perf/flattenConcurrently.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/flattenConcurrently.js -------------------------------------------------------------------------------- /perf/fold.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/fold.js -------------------------------------------------------------------------------- /perf/merge.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/merge.js -------------------------------------------------------------------------------- /perf/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/package.json -------------------------------------------------------------------------------- /perf/runners.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/perf/runners.js -------------------------------------------------------------------------------- /src/extra/buffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/buffer.ts -------------------------------------------------------------------------------- /src/extra/concat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/concat.ts -------------------------------------------------------------------------------- /src/extra/debounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/debounce.ts -------------------------------------------------------------------------------- /src/extra/delay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/delay.ts -------------------------------------------------------------------------------- /src/extra/dropRepeats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/dropRepeats.ts -------------------------------------------------------------------------------- /src/extra/dropUntil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/dropUntil.ts -------------------------------------------------------------------------------- /src/extra/flattenConcurrently.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/flattenConcurrently.ts -------------------------------------------------------------------------------- /src/extra/flattenConcurrentlyAtMost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/flattenConcurrentlyAtMost.ts -------------------------------------------------------------------------------- /src/extra/flattenSequentially.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/flattenSequentially.ts -------------------------------------------------------------------------------- /src/extra/fromDiagram.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/fromDiagram.ts -------------------------------------------------------------------------------- /src/extra/fromEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/fromEvent.ts -------------------------------------------------------------------------------- /src/extra/pairwise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/pairwise.ts -------------------------------------------------------------------------------- /src/extra/sampleCombine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/sampleCombine.ts -------------------------------------------------------------------------------- /src/extra/split.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/split.ts -------------------------------------------------------------------------------- /src/extra/throttle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/throttle.ts -------------------------------------------------------------------------------- /src/extra/tween.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/extra/tween.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/src/index.ts -------------------------------------------------------------------------------- /tests/extra/buffer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/buffer.ts -------------------------------------------------------------------------------- /tests/extra/concat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/concat.ts -------------------------------------------------------------------------------- /tests/extra/debounce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/debounce.ts -------------------------------------------------------------------------------- /tests/extra/delay.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/delay.ts -------------------------------------------------------------------------------- /tests/extra/dropRepeats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/dropRepeats.ts -------------------------------------------------------------------------------- /tests/extra/dropUntil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/dropUntil.ts -------------------------------------------------------------------------------- /tests/extra/flattenConcurrently.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/flattenConcurrently.ts -------------------------------------------------------------------------------- /tests/extra/flattenConcurrentlyAtMost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/flattenConcurrentlyAtMost.ts -------------------------------------------------------------------------------- /tests/extra/flattenSequentially.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/flattenSequentially.ts -------------------------------------------------------------------------------- /tests/extra/fromDiagram.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/fromDiagram.ts -------------------------------------------------------------------------------- /tests/extra/fromEvent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/fromEvent.ts -------------------------------------------------------------------------------- /tests/extra/pairwise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/pairwise.ts -------------------------------------------------------------------------------- /tests/extra/sampleCombine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/sampleCombine.ts -------------------------------------------------------------------------------- /tests/extra/split.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/split.ts -------------------------------------------------------------------------------- /tests/extra/throttle.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/throttle.ts -------------------------------------------------------------------------------- /tests/extra/tween.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/extra/tween.ts -------------------------------------------------------------------------------- /tests/factory/combine.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/combine.ts -------------------------------------------------------------------------------- /tests/factory/empty.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/empty.ts -------------------------------------------------------------------------------- /tests/factory/from.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/from.ts -------------------------------------------------------------------------------- /tests/factory/fromArray.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/fromArray.ts -------------------------------------------------------------------------------- /tests/factory/fromObservable.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/fromObservable.ts -------------------------------------------------------------------------------- /tests/factory/fromPromise.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/fromPromise.ts -------------------------------------------------------------------------------- /tests/factory/merge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/merge.ts -------------------------------------------------------------------------------- /tests/factory/never.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/never.ts -------------------------------------------------------------------------------- /tests/factory/of.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/of.ts -------------------------------------------------------------------------------- /tests/factory/throw.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/factory/throw.ts -------------------------------------------------------------------------------- /tests/memoryStream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/memoryStream.ts -------------------------------------------------------------------------------- /tests/operator/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/debug.ts -------------------------------------------------------------------------------- /tests/operator/drop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/drop.ts -------------------------------------------------------------------------------- /tests/operator/endWhen.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/endWhen.ts -------------------------------------------------------------------------------- /tests/operator/filter.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/filter.ts -------------------------------------------------------------------------------- /tests/operator/flatten.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/flatten.ts -------------------------------------------------------------------------------- /tests/operator/fold.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/fold.ts -------------------------------------------------------------------------------- /tests/operator/imitate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/imitate.ts -------------------------------------------------------------------------------- /tests/operator/last.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/last.ts -------------------------------------------------------------------------------- /tests/operator/map.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/map.ts -------------------------------------------------------------------------------- /tests/operator/mapTo.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/mapTo.ts -------------------------------------------------------------------------------- /tests/operator/remember.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/remember.ts -------------------------------------------------------------------------------- /tests/operator/replaceError.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/replaceError.ts -------------------------------------------------------------------------------- /tests/operator/startWith.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/startWith.ts -------------------------------------------------------------------------------- /tests/operator/take.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/operator/take.ts -------------------------------------------------------------------------------- /tests/stream.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/stream.ts -------------------------------------------------------------------------------- /tests/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tests/types.ts -------------------------------------------------------------------------------- /tools/check-release.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/check-release.js -------------------------------------------------------------------------------- /tools/generate-docs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/generate-docs.js -------------------------------------------------------------------------------- /tools/make-extras.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/make-extras.js -------------------------------------------------------------------------------- /tools/make-factories.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/make-factories.js -------------------------------------------------------------------------------- /tools/make-methods.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/make-methods.js -------------------------------------------------------------------------------- /tools/make-toc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/make-toc.js -------------------------------------------------------------------------------- /tools/minify.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/minify.js -------------------------------------------------------------------------------- /tools/release-if-necessary.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/release-if-necessary.sh -------------------------------------------------------------------------------- /tools/strip-comments.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/strip-comments.js -------------------------------------------------------------------------------- /tools/template-extras.md.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/template-extras.md.ejs -------------------------------------------------------------------------------- /tools/template-factories.md.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/template-factories.md.ejs -------------------------------------------------------------------------------- /tools/template-methods.md.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/template-methods.md.ejs -------------------------------------------------------------------------------- /tools/template-toc.md.ejs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tools/template-toc.md.ejs -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.strict.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tsconfig.strict.json -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/tslint.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/staltz/xstream/HEAD/yarn.lock --------------------------------------------------------------------------------