npm

Need private packages and team management tools?Check out npm Orgs. »

wonka

3.2.1 • Public • Published

Wonka

A fast push & pull stream library for Reason, loosely following the callbag spec


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.

Wonka is written in Reason, a dialect of OCaml, and can hence be used for native applications. It is also compiled using BuckleScript to plain JavaScript and has typings for TypeScript and Flow.

This means that out of the box Wonka is usable in any project that use the following:

  • Plain JavaScript
  • TypeScript
  • Flow
  • Reason/OCaml with BuckleScript
  • Reason/OCaml with bs-native
  • Reason/OCaml with Dune and Esy

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.

install

npm i wonka

Downloadsweekly downloads

5,867

version

3.2.1

license

MIT

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability