{"adoption": {"forks": 83, "observed_at": "2026-08-28T04:03:16.873075+00:00", "stars": 1027}, "canonical_url": "https://ross.abutalabs.com/products/p-retry", "card": {"archived": false, "artifact_type": "library", "description": "Retry a promise-returning or async function", "domain": ["developer-tools", "backend", "web-development"], "enriched": true, "function": ["concurrency", "error-handling"], "health_score": 82, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["sindresorhus/p-retry"], "name": "sindresorhus/p-retry", "platform": ["browser"], "pushed_at": "2026-03-26T16:08:20+00:00", "repo": "sindresorhus/p-retry", "stars": 1027, "tags": ["promise", "retry", "exponential-backoff", "async", "npm", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["retry failed http fetch requests", "add exponential backoff to async function calls", "retry flaky network operations in node", "stop retrying on 404 errors", "retry promise with custom retry strategy"], "what_it_is": "A small JavaScript library for retrying promise-returning or async functions with exponential backoff and customizable retry strategies. It supports aborting retries on non-retryable errors and provides failure context callbacks.", "when_to_avoid": ["you need retry logic for non-promise synchronous code", "you need circuit breaker or rate limiting beyond simple retries", "your runtime lacks Promise support"], "when_to_choose": ["you need robust retry logic with exponential backoff for async operations", "you want fine-grained control over which errors are retried or aborted", "you need per-failure callbacks with retry state information"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/p-retry", "repo": "sindresorhus/p-retry", "role": "main", "score": 76}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:16.873075+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:07:54.981161+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "be1bcdfccbce4a3991ae6c90c063b3158138900106e8e0d0715672889c667e43", "fetched_at": "2026-08-28T04:03:16.873075+00:00", "kind": "readme", "missing": false, "url": "https://github.com/sindresorhus/p-retry"}, {"content_hash": "f02ea7c9b1f76c117eec46c2d1c010a83669bff5bee5fb92d08359dbfef195da", "fetched_at": "2026-08-29T13:08:00.105765+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/p-retry"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 74, "longevity": 100, "rhythm": 64}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3603, "days_push": 160, "days_rel": 160, "gap_med": 83.5, "n_releases_24m": 5}, "score": 76, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}