/ stream.nieuweinstituut.nl / node_modules / rxjs /

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