# yet-another-promise-proxy

> ``` const deferred = Promise.resolve([ 1, 2, 3, 4, 5 ]);

Latest version **1.0.0** (published 2020-12-03) · ISC license · 0 weekly downloads

## Install

```sh
npm install yet-another-promise-proxy
pnpm add yet-another-promise-proxy
yarn add yet-another-promise-proxy
bun add yet-another-promise-proxy
```

## 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-12-03 |
| First published | 2020-12-03 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | vihtorimallat |
| Maintainers | vihtorimallat |
| Keywords | promise, proxy |

## Links

- npm: https://www.npmjs.com/package/yet-another-promise-proxy
- Repository: https://github.com/vihtorimallat/promise-proxy
- Homepage: https://github.com/vihtorimallat/promise-proxy#readme
- Issues: https://github.com/vihtorimallat/promise-proxy/issues
- npm.io page: https://npm.io/package/yet-another-promise-proxy

## 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-12-03

## README

# promise-proxy
 
```
const deferred = Promise.resolve([ 1, 2, 3, 4, 5 ]);

deferred.map(x => x * 2).then(console.log); // -> [ 2, 4, 6, 8, 10 ]
deferred.filter(x => x > 3).then(console.log); // -> [ 4, 5 ]
deferred.filter(x => x > 3).length.then(console.log); // -> 2


const complexDeferred = Promise.resolve({a: { b: _ => ({ c: { d: _ => 'e' } }) } });

complexDeferred.a.b().c.d().then(console.log); // -> 'e'
```

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