# stefanpenner/es6-promise

A polyfill for ES6-style Promises

Repository: https://github.com/stefanpenner/es6-promise
Canonical: https://ross.abutalabs.com/products/es6-promise
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-11-14T21:47:12+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4650, "days_push": 1388, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7253, forks 580 (observed 2026-08-28T04:09:57.849729+00:00)

## What it is
A JavaScript polyfill that provides the ES6 Promise implementation for environments lacking native support, extracted as a subset of rsvp.js. It can be loaded via script tag, npm, or as an auto-polyfill that patches the global Promise when missing or broken.

## Use cases
- support promises in older browsers like IE11
- polyfill Promise in legacy Node.js versions
- normalize broken native Promise implementations
- add async support to legacy JavaScript codebases
- provide a lightweight Promise implementation without full rsvp.js

## When to choose
- you must support legacy browsers or runtimes without native Promise
- you want a small, battle-tested Promise polyfill
- you need automatic global patching of a missing or broken Promise

## When to avoid
- you target only modern browsers and Node versions with native Promise support
- you need advanced features like cancellation or debugging tools (use rsvp.js instead)
- you are starting a new project where polyfills are unnecessary

## Facets
- artifact type: library
- maturity: maintenance
- function: concurrency, developer-tools
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: promises, polyfill, async, es6, javascript, nodejs

## Member repositories
- stefanpenner/es6-promise (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:57.849729+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:39:43.439913+00:00, confidence not recorded.
  - readme: https://github.com/stefanpenner/es6-promise (fetched 2026-08-28T04:09:57.849729+00:00, sha 78acd6fe86d0)
  - registry_npm: https://registry.npmjs.org/es6-promise (fetched 2026-08-29T08:34:36.362587+00:00, sha 82383117bf0a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
