@cxl/rx
TypeScript icon, indicating that this package has built-in type declarations

0.8.1 • Public • Published

@cxl/rx

npm version

Lightweight reactiveX implementation

Project Details

  • Branch Version: 0.8.1
  • License: Apache-2.0
  • Documentation: Link
  • Report Issues: Github

Installation

npm install @cxl/rx

Usage

import { of, be } from '@cxl/rx';

const obs = of('Hello World');
obs.subscribe(val => console.log(val)).unsubscribe();

// Using a BehaviorSubject
const ref = be('');
ref.filter(val => !!val).tap(val => console.log(val)).subscribe();
ref.next('Hello World');

Features

  • Lightweight

Readme

Keywords

none

Package Sidebar

Install

npm i @cxl/rx

Weekly Downloads

4

Version

0.8.1

License

Apache-2.0

Unpacked Size

129 kB

Total Files

12

Last publish

Collaborators

  • cxl