Skip to content

A set of commonly used stream operators implemented as callbags with Typescript and ES modules

License

Notifications You must be signed in to change notification settings

cyclejs/callbags

Repository files navigation

@cycle/callbags

Build codecov code style: prettier

This is the set of callbags that will most likely be used in the next version of Cycle.js. They are written in TypeScript and export ES modules to allow for tree shaking. Also, the implementation is specifically tailored to the Cycle.js use case, so all of them are push-only. Using them with sink or operators that try to pull the sources here will most likely lead to bugs und weird behavior.

Building

This project uses pnpm, other package managers might work, but only pnpm has a lockfile that pins dependencies. To build run:

pnpm install
pnpm run build

Implemented operators

Currently, the following set of operators is implemented, others might follow. Note that this repo is not designed to become the "official" home of callbags, so after a basic set is implemented it is very unlikely that further operators will be added. This is no problem in practise as all of the callbags here adhere to the spec, so you can easily mix and match them with any callbag operator out there.

Factories

Operators

Sinks

Helpers

About

A set of commonly used stream operators implemented as callbags with Typescript and ES modules

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published