# most-observable

> Create @most/core compatible streams from observables

Latest version **0.0.2** (published 2018-10-08) · MIT license · 0 weekly downloads

## Install

```sh
npm install most-observable
pnpm add most-observable
yarn add most-observable
bun add most-observable
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2018-10-08 |
| First published | 2018-10-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 206 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Kanit Sharma |
| Maintainers | kanitsharma |

## Links

- npm: https://www.npmjs.com/package/most-observable
- npm.io page: https://npm.io/package/most-observable

## Dependencies (1)

- [symbol-observable](https://npm.io/package/symbol-observable.md) ^1.2.0

## Recent versions

- 0.0.2 (latest) — 2018-10-08
- 0.0.1 — 2018-10-05

## README

# most-observable

Create `@most/core` streams from [ES observables](https://github.com/tc39/proposal-observable).

## Install

`yarn add most-observable`
<br />
`npm i -s most-observable`

## Example

Creating state stream from redux store as it is an Observable but any [ES observable](https://github.com/tc39/proposal-observable) should work.

```javascript
import fromObservable from "most-observable";
import { runEffects, tap } from "@most/core";
import { newDefaultScheduler } from "@most/scheduler";

const store = createStore(reducer); // Redux store

const state$ = fromObservable(store);

runEffects(tap(console.log, state$), newDefaultScheduler());
```

## API

- fromObservable

```javascript
const stream = fromObservable(observable);
```

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