# promise-props-recursive

> Recursively resolve promises within objects

Latest version **2.0.2** (published 2022-03-03) · MIT license · 0 weekly downloads

## Install

```sh
npm install promise-props-recursive
pnpm add promise-props-recursive
yarn add promise-props-recursive
bun add promise-props-recursive
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.2 |
| Published | 2022-03-03 |
| First published | 2016-01-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=12 |
| Dependencies | 1 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Espen Hovlandsdal |
| Maintainers | rexxars |
| Keywords | promise, object, recursive |

## Links

- npm: https://www.npmjs.com/package/promise-props-recursive
- Repository: https://github.com/rexxars/promise-props-recursive
- Homepage: https://github.com/rexxars/promise-props-recursive#readme
- Issues: https://github.com/rexxars/promise-props-recursive/issues
- npm.io page: https://npm.io/package/promise-props-recursive

## Dependencies (1)

- [lodash.isplainobject](https://npm.io/package/lodash.isplainobject.md) ^4.0.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

- 2.0.2 (latest) — 2022-03-03
- 2.0.1 — 2022-02-09
- 2.0.0 — 2022-02-08
- 1.0.0 — 2016-01-20

## README

# promise-props-recursive

[![npm version](http://img.shields.io/npm/v/promise-props-recursive.svg?style=flat-square)](http://browsenpm.org/package/promise-props-recursive)

Resolve a (potentially) deep structure of promises

## Installation

```bash
$ npm install --save promise-props-recursive
```

## Usage

```js
var promisePropsRecursive = require('promise-props-recursive')

console.log(
  promisePropsRecursive({
    cats: Promise.resolve(['bamse', 'beans']),
    dogs: {
      schnauzers: Promise.resolve({
        kokos: {
          isSchnauzer: true,
          isCute: Promite.resolve(true),
        },
      }),
      mixed: Promise.resolve('katla'),
    },
  })
)
```

## License

MIT-licensed. See LICENSE.

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