npm.io
2.3.0 • Published 3 years ago

@aloreljs/rxutils

Licence
MIT
Version
2.3.0
Deps
2
Size
109 kB
Vulns
0
Weekly
0
Stars
2

Table of Contents

Rx Utils

Utility functions for rxjs

Core


A collection of utility functions for rxjs:

import {of} from 'rxjs';
import {innerMap, logError, distinctUntilDeepChanged} from '@aloreljs/rxutils/operators';

of([1, 2, 3])
  .pipe(
    innerMap(n => n * 2),
    logError('[Inner map error]'),
    distinctUntilDeepChanged()
  )
  .subscribe();

Full API docs and examples for version 2.3.0 are available here. Docs and examples for the latest version are available here.

Installation

npm install rxjs@^7.0.0 @aloreljs/rxutils;

Polyfills

Apart from your standard ES6 polyfills, you must ensure Symbols are polyfilled.