# p-observable

> Promisify an observable by subscribing to it.

Latest version **1.0.0** (published 2020-04-08) · MIT license · 0 weekly downloads

## Install

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

## 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 |
| Published | 2020-04-08 |
| First published | 2020-04-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=10 |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Richie Bendall |
| Maintainers | richienb |
| Keywords | observable, promise, await, next, data |

## Links

- npm: https://www.npmjs.com/package/p-observable
- Repository: https://github.com/Richienb/p-observable
- npm.io page: https://npm.io/package/p-observable

## Dependencies (1)

- [type-fest](https://npm.io/package/type-fest.md) ^0.13.0

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-04-08

## README

# p-observable [![Travis CI Build Status](https://img.shields.io/travis/com/Richienb/p-observable/master.svg?style=for-the-badge)](https://travis-ci.com/Richienb/p-observable)

Promisify an observable by subscribing to it.

[![NPM Badge](https://nodei.co/npm/p-observable.png)](https://npmjs.com/package/p-observable)

## Install

```sh
npm install p-observable
```

## Usage

```js
const pObservable = require("p-observable");

(async () => {
	const result = await pObservable(observable);

	console.log(result);
})();
```

## API

### pObservable(observable)

#### observable

Type: `observable`

The observable to promisify.

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