{"adoption": {"forks": 106, "observed_at": "2026-08-28T04:04:18.138287+00:00", "stars": 1302}, "canonical_url": "https://ross.abutalabs.com/products/setimmediate", "card": {"archived": false, "artifact_type": "library", "description": "A cross-browser implementation of the new setImmediate API.", "domain": ["web-development", "frontend", "developer-tools"], "enriched": true, "function": ["concurrency", "developer-tools"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["YuzuJS/setImmediate"], "name": "YuzuJS/setImmediate", "platform": ["browser", "cross-platform"], "pushed_at": "2024-01-01T07:03:03+00:00", "repo": "YuzuJS/setImmediate", "stars": 1302, "tags": ["setimmediate", "polyfill", "shim", "event-loop", "macrotask", "async", "nodejs"], "topics": [], "urls": [], "use_cases": ["yield to the browser event loop more efficiently than setTimeout(fn, 0)", "polyfill setImmediate in older browsers and Node versions", "schedule macrotask callbacks that let I/O and rendering happen between tasks", "avoid long-running script blocking in IE6+ and legacy browsers", "queue tasks in web workers"], "what_it_is": "A cross-browser JavaScript library implementing the proposed setImmediate and clearImmediate APIs for efficient script yielding to the event loop. It uses environment-specific tricks (MessageChannel, postMessage, process.nextTick) with a setTimeout fallback so it works everywhere.", "when_to_avoid": ["you only need microtask ordering — use Promise or asap instead", "you want render-loop-aligned scheduling — use requestAnimationFrame", "your target environments all have native setImmediate already"], "when_to_choose": ["you need macrotask semantics (yield to event loop) rather than microtask semantics", "you must support very old browsers or Node versions lacking native setImmediate", "you want a small, dependency-free shim with a safe setTimeout fallback"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/setimmediate", "repo": "YuzuJS/setImmediate", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "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:18.138287+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:18.138287+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:51:16.305946+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6b8504e6cef03bfc6465771f44a7e836b9c0376f1f2e2659cf661b46037679d7", "fetched_at": "2026-08-28T04:04:18.138287+00:00", "kind": "readme", "missing": false, "url": "https://github.com/YuzuJS/setImmediate"}, {"content_hash": "207b352e6140334447d378c6e9336df20a50d8af426388e082855398f891c992", "fetched_at": "2026-08-29T12:09:40.764220+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/setimmediate"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 5543, "days_push": 975, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}