/ stream.nieuweinstituut.nl / node_modules / rxjs /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]_esm5/2 years ago -  
[DIR]_esm2015/2 years ago -  
[DIR]add/2 years ago -  
[DIR]ajax/2 years ago -  
[DIR]bundles/2 years ago -  
[DIR]fetch/2 years ago -  
[DIR]internal-compatibility/2 years ago -  
[DIR]internal/2 years ago -  
[DIR]migrations/2 years ago -  
[DIR]observable/2 years ago -  
[DIR]operator/2 years ago -  
[DIR]operators/2 years ago -  
[DIR]scheduler/2 years ago -  
[DIR]src/2 years ago -  
[DIR]symbol/2 years ago -  
[DIR]testing/2 years ago -  
[DIR]util/2 years ago -  
[DIR]webSocket/2 years ago -  
[TXT]AsyncSubject.d.ts40 years ago 42  
[   ]AsyncSubject.js40 years ago261  
[   ]AsyncSubject.js.map40 years ago114  
[TXT]BehaviorSubject.d.ts40 years ago 45  
[   ]BehaviorSubject.js40 years ago267  
[   ]BehaviorSubject.js.map40 years ago120  
[TXT]InnerSubscriber.d.ts40 years ago 45  
[   ]InnerSubscriber.js40 years ago267  
[   ]InnerSubscriber.js.map40 years ago120  
[TXT]LICENSE.txt40 years ago 11K 
[TXT]Notification.d.ts40 years ago 42  
[   ]Notification.js40 years ago261  
[   ]Notification.js.map40 years ago114  
[TXT]Observable.d.ts40 years ago 40  
[   ]Observable.js40 years ago257  
[   ]Observable.js.map40 years ago110  
[TXT]Observer.d.ts40 years ago 38  
[   ]Observer.js40 years ago113  
[   ]Observer.js.map40 years ago 90  
[TXT]Operator.d.ts40 years ago 38  
[   ]Operator.js40 years ago113  
[   ]Operator.js.map40 years ago 90  
[TXT]OuterSubscriber.d.ts40 years ago 45  
[   ]OuterSubscriber.js40 years ago267  
[   ]OuterSubscriber.js.map40 years ago120  
[TXT]README.md40 years ago5.2Kd768d73 docs [كارل مبارك]
[TXT]ReplaySubject.d.ts40 years ago 43  
[   ]ReplaySubject.js40 years ago263  
[   ]ReplaySubject.js.map40 years ago116  
[TXT]Rx.d.ts40 years ago 29  
[   ]Rx.js40 years ago238  
[   ]Rx.js.map40 years ago 94  
[TXT]Scheduler.d.ts40 years ago 39  
[   ]Scheduler.js40 years ago255  
[   ]Scheduler.js.map40 years ago108  
[TXT]Subject.d.ts40 years ago 37  
[   ]Subject.js40 years ago251  
[   ]Subject.js.map40 years ago104  
[TXT]SubjectSubscription.d.ts40 years ago 49  
[   ]SubjectSubscription.js40 years ago275  
[   ]SubjectSubscription.js.map40 years ago128  
[TXT]Subscriber.d.ts40 years ago 40  
[   ]Subscriber.js40 years ago257  
[   ]Subscriber.js.map40 years ago110  
[TXT]Subscription.d.ts40 years ago 42  
[   ]Subscription.js40 years ago261  
[   ]Subscription.js.map40 years ago114  
[TXT]index.d.ts40 years ago3.3K 
[   ]index.js40 years ago6.0K3e510ca test new git [كارل مبارك]
[   ]index.js.map40 years ago2.1K3e510ca test new git [كارل مبارك]
[TXT]interfaces.d.ts40 years ago 40  
[   ]interfaces.js40 years ago115  
[   ]interfaces.js.map40 years ago 94  
[   ]package.json2 years ago4.8K3e510ca test new git [كارل مبارك]
README.md

RxJS Logo RxJS: Reactive Extensions For JavaScript

CircleCI npm version Join the chat at https://gitter.im/Reactive-Extensions/RxJS

RxJS 6 Stable

MIGRATION AND RELEASE INFORMATION:

Find out how to update to v6, automatically update your TypeScript code, and more!

FOR V 5.X PLEASE GO TO THE 5.0 BRANCH

Reactive Extensions Library for JavaScript. This is a rewrite of Reactive-Extensions/RxJS and is the latest production-ready version of RxJS. This rewrite is meant to have better performance, better modularity, better debuggable call stacks, while staying mostly backwards compatible, with some breaking changes that reduce the API surface.

Apache 2.0 License

Versions In This Repository

Important

By contributing or commenting on issues in this repository, whether you've read them or not, you're agreeing to the Contributor Code of Conduct. Much like traffic laws, ignorance doesn't grant you immunity.

Installation and Usage

ES6 via npm

npm install rxjs

It's recommended to pull in the Observable creation methods you need directly from 'rxjs' as shown below with range. And you can pull in any operator you need from one spot, under 'rxjs/operators'.

import { range } from "rxjs";
import { map, filter } from "rxjs/operators";

range(1, 200)
  .pipe(
    filter(x => x % 2 === 1),
    map(x => x + x)
  )
  .subscribe(x => console.log(x));

Here, we're using the built-in pipe method on Observables to combine operators. See pipeable operators for more information.

CommonJS via npm

To install this library for CommonJS (CJS) usage, use the following command:

npm install rxjs

(Note: destructuring available in Node 8+)

const { range } = require('rxjs');
const { map, filter } = require('rxjs/operators');

range(1, 200).pipe(
  filter(x => x % 2 === 1),
  map(x => x + x)
).subscribe(x => console.log(x));

CDN

For CDN, you can use unpkg:

https://unpkg.com/rxjs/bundles/rxjs.umd.min.js

The global namespace for rxjs is rxjs:

const { range } = rxjs;
const { map, filter } = rxjs.operators;

range(1, 200)
  .pipe(
    filter(x => x % 2 === 1),
    map(x => x + x)
  )
  .subscribe(x => console.log(x));

Goals

Building/Testing

Performance Tests

Run npm run build_perf or npm run perf to run the performance tests with protractor.

Run npm run perf_micro [operator] to run micro performance test benchmarking operator.

Adding documentation

We appreciate all contributions to the documentation of any type. All of the information needed to get the docs app up and running locally as well as how to contribute can be found in the documentation directory.

Generating PNG marble diagrams

The script npm run tests2png requires some native packages installed locally: imagemagick, graphicsmagick, and ghostscript.

For Mac OS X with Homebrew:

For Debian Linux:

For Windows and other Operating Systems, check the download instructions here:

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80