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

0.7.0 • Public • Published

@cxl/rx

npm version

Lightweight reactiveX implementation

Project Details

  • Branch Version: 0.7.0
  • 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

/@cxl/rx/

    Package Sidebar

    Install

    npm i @cxl/rx

    Weekly Downloads

    0

    Version

    0.7.0

    License

    Apache-2.0

    Unpacked Size

    109 kB

    Total Files

    10

    Last publish

    Collaborators

    • cxl