0.11.0 • Published 4 years ago

rythe v0.11.0

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

Rythe

Build Status npm.io codecov npm version

A tiny, heavily tree-shakeable Reactive Stream library

Installation and Usage

ES6 via NPM

npm install rythe
import { createStream, filter, map } from "rythe";

const stream = createStream();

const mapped = stream.pipe(
  filter((value) => value % 2 !== 0),
  map((value) => value ** 3)
);

stream(5)(6); // mapped emits only 125, 6 is filtered out

Note: Tested to work with the latest version of Typescript (3.9). Only supports the latest typescript officially, and Node 12+ or actual modern browsers (Firefox, Chrome, etc).

Goals

  • Provide a tree-shakeable FRP library for use with bundlers like Rollup
  • Have good performance while providing similar ergonomics/API to libraries like Flyd, RxJS
  • Make use of Typescript as the implementation language for the library for better type documentation and interfaces

Documentation

Documentation can be read here.

0.11.0

4 years ago

0.10.0

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.2

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago