https://github.com/0no-co/wonka
🎩 A tiny but capable push & pull stream library for TypeScript and Flow
https://github.com/0no-co/wonka
callbag events iterable javascript observable stream typescript
Last synced: about 1 month ago
JSON representation
🎩 A tiny but capable push & pull stream library for TypeScript and Flow
- Host: GitHub
- URL: https://github.com/0no-co/wonka
- Owner: 0no-co
- License: mit
- Created: 2018-02-26T06:34:12.000Z (about 7 years ago)
- Default Branch: main
- Last Pushed: 2025-03-03T21:25:32.000Z (about 2 months ago)
- Last Synced: 2025-03-16T09:34:49.887Z (about 1 month ago)
- Topics: callbag, events, iterable, javascript, observable, stream, typescript
- Language: TypeScript
- Homepage:
- Size: 2.58 MB
- Stars: 717
- Watchers: 11
- Forks: 29
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
- stars - 0no-co/wonka
README
# Wonka
A tiny but capable push & pull stream library for TypeScript and Flow,
loosely following the [callbag spec](https://github.com/callbag/callbag)> **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.> “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 is a lightweight iterable and observable library loosely based on
the [callbag spec](https://github.com/callbag/callbag). 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](https://wonka.kitten.sh/)
**See the documentation at [wonka.kitten.sh](https://wonka.kitten.sh)** for more information about using `wonka`!
- [Introduction](https://wonka.kitten.sh/)
- [**Getting started**](https://wonka.kitten.sh/getting-started)
- [Basics](https://wonka.kitten.sh/basics/)
- [API Reference](https://wonka.kitten.sh/api/)The raw markdown files can be found [in this repository in the `docs` folder](https://github.com/kitten/wonka/tree/master/docs).