# rx-thenable

> Patches RxJS to allow Observables to be consumed as Promises.

Latest version **1.0.0-alpha.2** (published 2016-02-06) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install rx-thenable
pnpm add rx-thenable
yarn add rx-thenable
bun add rx-thenable
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0-alpha.2 |
| Published | 2016-02-06 |
| First published | 2016-02-05 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Anders Riutta |
| Maintainers | ariutta |
| Keywords | rx, reactive-extensions, promise, then |

## Links

- npm: https://www.npmjs.com/package/rx-thenable
- Repository: https://github.com/ariutta/rx-thenable
- Homepage: https://github.com/ariutta/rx-thenable#readme
- Issues: https://github.com/ariutta/rx-thenable/issues
- npm.io page: https://npm.io/package/rx-thenable

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@oxyhq/services](https://npm.io/package/@oxyhq/services.md) — 2.3K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads

## Recent versions

- 1.0.0-alpha.2 (latest) — 2016-02-06
- 1.0.0-alpha.1 — 2016-02-05
- 1.0.0-alpha.0 — 2016-02-05

## README

# rx-thenable
Patches [RxJS](https://github.com/Reactive-Extensions/RxJS) to allow `Observables` to be consumed as `Promises`:

```js
var Rx = require('rx');
require('rx-thenable')(Rx);

Rx.Observable.range(0, 5).then(function(result) {
    // on result
  }, function(err) {
    // on err
  });
```

This functionality is only made available if the environment supports Promises/A+ conformant promises.

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