rxs
rxstream
npm i rxstream
rxs

rxstream

If all you need is just a stream (RxJS Subject). Very lightweight (1.5Kb gzipped) and tree-shaking friendly.

by Pavel

1.3.4 (see all)License:ISCTypeScript:Not Found
npm i rxstream
Readme

RxStream

If all you need is just a stream (RxJS Subject). Very lightweight (1.5Kb gzipped) and tree-shaking friendly.

Installation

Using npm:

$ npm i -g npm
$ npm i --save rxstream

Documentation

Documentation

Example

import { Subject } from 'rxstream';

let stream$ = new Subject();
stream$.subscribe(value => console.log(value));
stream$.next(1); // 1
stream$.next(2); // 2

Tree-shaking

To perform better tree-shaking, import what you need from its local module, for example:

import { Subject } from 'rxstream/es5/subjects/subject';
import { merge } from 'rxstream/es5/operators/merge';

Downloads/wk

5

GitHub Stars

15

LAST COMMIT

5yrs ago

MAINTAINERS

1

CONTRIBUTORS

1

OPEN ISSUES

0

OPEN PRs

0
VersionTagPublished
1.3.4
latest
5yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate