0no-co / wonka

🎩 A tiny but capable push & pull stream library for TypeScript and Flow
MIT License
704 stars 30 forks source link
callbag events iterable javascript observable stream typescript

Wonka

A tiny but capable push & pull stream library for TypeScript and Flow, loosely following the callbag spec

NOTE: The currently released version v6 is only compatible now with TypeScript, Flow, and JavaScript. If you're looking for Reason/OCaml/esy/dune support, please check v5, and if you're looking for the legacy version of this library check v4.


NPM Version

License

Test Coverage

Minified gzip size


“There’s no earthly way of knowing
Which direction we are going
There’s no knowing where we’re rowing
Or which way the river’s flowing” - Willy Wonka


Wonka

Wonka is a lightweight iterable and observable library loosely based on the callbag spec. It exposes a set of helpers to create streams, which are sources of multiple values, which allow you to create, transform and consume event streams or iterable sets of data.

Documentation

See the documentation at wonka.kitten.sh for more information about using wonka!

The raw markdown files can be found in this repository in the docs folder.