{"adoption": {"forks": 49, "observed_at": "2026-08-28T04:04:29.891355+00:00", "stars": 1360}, "canonical_url": "https://ross.abutalabs.com/products/caf", "card": {"archived": false, "artifact_type": "library", "description": "Cancelable Async Flows (CAF)", "domain": ["developer-tools", "web-development"], "enriched": true, "function": ["concurrency", "developer-tools"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["getify/CAF"], "name": "getify/CAF", "platform": ["browser", "cross-platform"], "pushed_at": "2022-08-27T15:09:24+00:00", "repo": "getify/CAF", "stars": 1360, "tags": ["async", "promises", "generators", "cancellation", "cancel-token", "javascript", "nodejs"], "topics": ["async", "library", "cancelable", "promises", "javascript"], "urls": [], "use_cases": ["cancel an async operation like a timed-out ajax request", "treat generators as cancelable async functions in JavaScript", "cascade a single cancellation signal through a chain of async calls", "abort a promise chain mid-flight when a timeout elapses", "emulate async generators in environments without native support"], "what_it_is": "CAF (Cancelable Async Flows) is a JavaScript library that wraps function* generators so they behave like async functions while supporting external cancellation via cancellation tokens. It also includes CAG for emulating async generators, with cancellation signals that cascade across chained calls.", "when_to_avoid": ["you need to support pre-ES2018 environments without transpiling", "your async operations are short-lived and cancellation isn't needed", "you prefer native async/await and AbortController-based cancellation"], "when_to_choose": ["you need to cancel in-flight async flows, which native async functions can't do", "you want synchronous-looking async logic with cooperative cancellation tokens", "you're on ES2018+ JavaScript in Node or the browser"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/caf", "repo": "getify/CAF", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "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:04:29.891355+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:29.891355+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:41:39.068407+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "9e15bcba326c091505af0f40c569ebd43bbc218c1dfea35271f22fc59de85079", "fetched_at": "2026-08-28T04:04:29.891355+00:00", "kind": "readme", "missing": false, "url": "https://github.com/getify/CAF"}, {"content_hash": "652967f16a8f7106e26d632667b7393253bed202ff67b7d2cabfe44c9c755198", "fetched_at": "2026-08-29T11:59:43.011094+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/caf"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3160, "days_push": 1467, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}