# mattdesl/promise-cookbook

:orange_book: a brief introduction to using Promises in JavaScript

Repository: https://github.com/mattdesl/promise-cookbook
Canonical: https://ross.abutalabs.com/products/promise-cookbook
License: MIT
License Family: permissive
Last push: 2017-06-14T14:19:19+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": 4024, "days_push": 3367, "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 1614, forks 189 (observed 2026-08-28T04:05:11.420811+00:00)

## What it is
A brief introductory guide (cookbook) to using Promises in JavaScript, aimed primarily at frontend developers. It covers ES6 Promise syntax, common patterns like chaining and Promise.all, and common pitfalls.

## Use cases
- learn how javascript promises work
- understand promise chaining and error handling
- replace callback-based code with promises
- find common promise patterns like memoization
- avoid common pitfalls when using promises
- introduction to async programming in javascript

## When to choose
- you are a frontend developer new to promises
- you want a short practical introduction with code examples
- you need a refresher on promise patterns and pitfalls

## When to avoid
- you need comprehensive async documentation or async/await deep dives
- you want an actively updated tutorial (last updated 2017)
- you need a runnable library rather than a guide

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: developer-tools
- domain: web-development, frontend, tutorials, programming-languages
- platform: browser, cross-platform
- tags: promises, async, javascript, es6, tutorial, documentation, nodejs

## Member repositories
- mattdesl/promise-cookbook (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:11.420811+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-30T03:50:21.845910+00:00, confidence not recorded.
  - readme: https://github.com/mattdesl/promise-cookbook (fetched 2026-08-28T04:05:11.420811+00:00, sha e3cb82b61699)
- Data as of 2026-08-30T08:39:29.467469+00:00.
