A toy functional reactive stream library for JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
Stream.js

README.md

Stream

A toy functional reactive stream library for JavaScript (Similar to RxJS, XStream, MostJS, ...)

Factories:

  • Stream.of()
  • Stream.fromArray()
  • Stream.fromPromise()
  • Stream.fromEvent()
  • Stream.interval()

Composing Operators:

  • Stream.map()
  • Stream.mapTo()
  • Stream.filter()
  • Stream.takeUntil()

Articles

The following articles go through writing this toy library from scratch:

  1. Understanding the observable type by reimplementing a naive version of it
  2. Understanding observables by creating them out of arrays, events and promises
  3. Understanding observables by implementing few composition operators