Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow
1# Wonka 2 3A tiny but capable push & pull stream library for TypeScript and Flow, 4loosely following the [callbag spec](https://github.com/callbag/callbag) 5 6> **NOTE:** The currently released version v6 is only compatible now with TypeScript, Flow, and JavaScript. 7> If you're looking for Reason/OCaml/esy/dune support, please check v5, and if you're looking for the legacy version 8> of this library check v4. 9 10<br> 11<a href="https://npmjs.com/package/wonka"> 12 <img alt="NPM Version" src="https://img.shields.io/npm/v/wonka.svg" /> 13</a> 14<a href="https://npmjs.com/package/wonka"> 15 <img alt="License" src="https://img.shields.io/npm/l/wonka.svg" /> 16</a> 17<a href="https://coveralls.io/github/kitten/wonka?branch=master"> 18 <img src="https://coveralls.io/repos/github/kitten/wonka/badge.svg?branch=master" alt="Test Coverage" /> 19</a> 20<a href="https://bundlephobia.com/result?p=wonka"> 21 <img alt="Minified gzip size" src="https://img.shields.io/bundlephobia/minzip/wonka.svg?label=gzip%20size" /> 22</a> 23<br> 24 25> “There’s no earthly way of knowing<br> 26> Which direction we are going<br> 27> There’s no knowing where we’re rowing<br> 28> Or which way the river’s flowing” - **Willy Wonka** 29 30<br> 31 32![Wonka](/docs/wonka.jpg?raw=true) 33 34Wonka is a lightweight iterable and observable library loosely based on 35the [callbag spec](https://github.com/callbag/callbag). It exposes a set of helpers to create streams, 36which are sources of multiple values, which allow you to create, transform 37and consume event streams or iterable sets of data. 38 39## [Documentation](https://wonka.kitten.sh/) 40 41**See the documentation at [wonka.kitten.sh](https://wonka.kitten.sh)** for more information about using `wonka`! 42 43- [Introduction](https://wonka.kitten.sh/) 44- [**Getting started**](https://wonka.kitten.sh/getting-started) 45- [Basics](https://wonka.kitten.sh/basics/) 46- [API Reference](https://wonka.kitten.sh/api/) 47 48The raw markdown files can be found [in this repository in the `docs` folder](https://github.com/kitten/wonka/tree/master/docs).