# meteor-promise

> ES6 Promise polyfill with Fiber support

Latest version **0.9.0** (published 2021-05-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install meteor-promise
pnpm add meteor-promise
yarn add meteor-promise
bun add meteor-promise
```

## Health

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

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

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.9.0 |
| Published | 2021-05-18 |
| First published | 2015-05-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 63 |
| Author | Ben Newman |
| Maintainers | benjamn, mdg |
| Keywords | meteor, promise, fiber, synchronous, async, await |

## Links

- npm: https://www.npmjs.com/package/meteor-promise
- Repository: https://github.com/meteor/promise
- Issues: https://github.com/meteor/promise/issues
- npm.io page: https://npm.io/package/meteor-promise

## Alternatives

- [promise-throttle](https://npm.io/package/promise-throttle.md) — 44.2K weekly downloads
- [@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

## Recent versions

- 0.9.0 (latest) — 2021-05-18
- 1.0.0-alpha.1 (alpha) — 2022-07-21
- 1.0.0-alpha.0 — 2022-07-15
- 0.8.7 — 2018-12-06
- 0.8.6 — 2017-07-23
- 0.8.5 — 2017-07-13
- 0.8.4 — 2017-05-12
- 0.8.3 — 2017-05-12
- 0.8.2 — 2017-04-01
- 0.8.1 — 2017-03-31
- 0.8.0 — 2016-10-20
- 0.7.4 — 2016-09-09
- 0.7.3 — 2016-08-12
- 0.7.2 — 2016-05-03
- 0.7.1 — 2016-04-25
- … 29 more at https://npm.io/package/meteor-promise/versions

## README

# promise [![Build Status](https://travis-ci.org/meteor/promise.svg)](https://travis-ci.org/meteor/promise)
ECMAScript 2015 Promise polyfill with Fiber support

The static methods `Promise.async` and `Promise.await` implement the
relaxed `async` and `await` functions proposed in this talk: [Why Fibers
Make Sense For Meteor](http://benjamn.github.io/goto2015-talk).

Note: as of
[v0.4.0](https://github.com/meteor/promise/releases/tag/v0.4.0), this
library no longer depends directly on the
[`fibers`](https://www.npmjs.com/package/fibers) package. If you want to
use this library in a codebase that uses `Fiber`s, make sure to set
`Promise.Fiber` to the `Fiber` constructor that you use elsewhere.  For
example,
[here](https://github.com/meteor/promise/blob/1e52f297b02ea83e7fb48ba4c2b17d3b4503c001/test/tests.js#L2-L5)
is how it's done in the test code for this repository.

If you'd like to use this [package](https://atmospherejs.com/meteor/promise)
in a [Meteor](https://www.meteor.com/) project, a much simpler
approach is simply to run `meteor add promise`.

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