# reactor-core-js

> Reactive-Streams based implementation of Reactor-Core

Latest version **0.5.0** (published 2018-01-11) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install reactor-core-js
pnpm add reactor-core-js
yarn add reactor-core-js
bun add reactor-core-js
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2018-01-11 |
| First published | 2016-05-12 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51 |
| Maintainers | rdegnan, smaldini, akarnokd |

## Links

- npm: https://www.npmjs.com/package/reactor-core-js
- Repository: https://github.com/reactor/reactor-core-js
- Homepage: https://github.com/reactor/reactor-core-js#readme
- Issues: https://github.com/reactor/reactor-core-js/issues
- npm.io page: https://npm.io/package/reactor-core-js

## Recent versions

- 0.5.0 (latest) — 2018-01-11
- 0.4.0 — 2016-05-29
- 0.3.0 — 2016-05-23
- 0.2.0 — 2016-05-19
- 0.1.0 — 2016-05-12

## README

[![Join the chat at https://gitter.im/reactor/reactor](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/reactor/reactor?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) [![NPM version](https://img.shields.io/npm/v/reactor-core-js.svg)](https://www.npmjs.com/package/reactor-core-js)

[![Travis CI](https://travis-ci.org/reactor/reactor-core-js.svg?branch=master)](https://travis-ci.org/reactor/reactor-core-js)

# reactor-core-js

The Reactive-Streams based implementation of Reactor-Core.

# Importing

```
npm install reactor-core-js
```

[NPM](https://www.npmjs.com/package/reactor-core-js/)

# Usage

```javascript
import { Flux } from './node_modules/reactor-core-js/flux';

Flux.range(1, 10)
.take(5)
.map(v => v * 2)
.flatMap(v => Flux.range(v, 2))
.consume(v => console.log(v));
```

## Reactive Entry points

### Flux

  - `amb`
  - `combineLatest`, `combineLatest2`, `combineLatest3`, `combineLatest4`
  - `concat`
  - `concatArray`
  - `defer`
  - `empty`
  - `fromArray`
  - `fromCallable`
  - `interval`
  - `just`
  - `merge`
  - `mergeArray`
  - `never`
  - `range`
  - `switchOnNext`
  - `timer`
  - `using`
  - `zip`, `zip2`, `zip3`, `zip4`

### Mono

  - TBD

## Reactive stay

### Flux

  - `as`
  - `collect`
  - `combineWith`
  - `compose`
  - `concatWith`
  - `debounce`
  - `doOnAfterNext`
  - `doOnAfterTerminated`
  - `doOnCancel`
  - `doOnComplete`
  - `doOnError`
  - `doOnNext`
  - `doOnSubscribe`
  - `filter`
  - `flatMap`
  - `generate`
  - `hide`
  - `lift`
  - `map`
  - `onErrorReturn`
  - `onErrorResumeNext`
  - `reduce`
  - `sample`
  - `skip`
  - `skipLast`
  - `skipUntil`
  - `switchMap`
  - `take`
  - `takeLast`
  - `takeUntil`
  - `throttleFirst`
  - `toArray`
  - `withLatestFrom`
  - `zipWith`

### Mono

  - TBD

## Reactive Leave

### Flux

  - `consume`
  - `subscribe`

### Mono

  - `consume`
  - `subscribe`


## Scheduler

Import `scheduler` package.

  - `DefaultScheduler.INSTANCE`

---
_Source: https://npm.io/package/reactor-core-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
