0.0.1-beta.4 • Published 4 years ago

rxjs-traits v0.0.1-beta.4

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

rxjs-traits

This repo contains the RxJS Traits proof-of-concept that Moshe Kolodny and I have developed - and about which we spoke at RxJS Live London 2020 (slides).

The repo contains a subset of the RxJS API with the intention that the subset be imported from "rxjs-traits" instead of "rxjs". For example:

import { of } from "rxjs-traits";
import { take } from "rxjs-traits/operators";

const source = of("a", "b", "c");
const taken = source.pipe(take(1));

The package is intended to be used in conjunction with the ESLint rules in eslint-plugin-rxjs-traits.