{"adoption": {"forks": 70, "observed_at": "2026-08-28T04:03:25.542440+00:00", "stars": 1059}, "canonical_url": "https://ross.abutalabs.com/products/hyperoslo-sugar", "card": {"archived": false, "artifact_type": "library", "description": ":coffee: Something sweet that goes great with your Cocoa", "domain": ["developer-tools", "mobile-development", "cross-platform"], "enriched": true, "function": ["developer-tools", "concurrency", "internationalization", "testing"], "health_score": 20, "homepage": "https://github.com/hyperoslo", "language": "Swift", "license": "NOASSERTION", "license_family": "other", "maturity": "maintenance", "member_repos": ["hyperoslo/Sugar"], "name": "hyperoslo/Sugar", "platform": [], "pushed_at": "2020-06-18T11:12:48+00:00", "repo": "hyperoslo/Sugar", "stars": 1059, "tags": ["cocoa", "swift-extensions", "syntactic-sugar", "uikit-helpers", "foundation-helpers", "ios", "macos", "swift"], "topics": ["ios", "swift", "sweet", "sugar"], "urls": [], "use_cases": ["read app bundle info like name, version, and URL schemes in Swift", "detect if code is running on the iOS simulator", "observe keyboard show/hide events easily", "compare and construct dates with less boilerplate", "run closures once and simplify GCD usage", "use regex and string helpers in Swift", "simplify unit and UI testing setup"], "what_it_is": "Sugar is a Swift library that adds convenient extensions and helpers to Cocoa and Cocoa Touch, covering app info, screen/simulator checks, keyboard observation, dates, GCD, regex, localization, method swizzling, and testing utilities. It aims to make common iOS and macOS development tasks terser and sweeter.", "when_to_avoid": ["you need a actively maintained library with recent Swift concurrency support", "you prefer writing your own extensions over a dependency", "your project targets modern Swift versions beyond what Sugar supports"], "when_to_choose": ["you want lightweight Swift extensions for common UIKit/Foundation tasks", "you maintain an older Swift/Cocoa codebase and want terser syntax", "you need small helpers like keyboard observation or simulator detection without a big framework"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/hyperoslo-sugar", "repo": "hyperoslo/Sugar", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "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:25.542440+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:25.542440+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:57:14.561183+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "453d13fa930ac2ff333ff29baddf3189d5289163168a21d02971b5b4dadcc9ad", "fetched_at": "2026-08-28T04:03:25.542440+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hyperoslo/Sugar"}, {"content_hash": "f184e367314262cb4e325b808c59d20c44b14fc59ec2596ac780ef372d043f6b", "fetched_at": "2026-08-29T12:58:57.329867+00:00", "kind": "homepage", "missing": false, "url": "https://github.com/hyperoslo"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4073, "days_push": 2267, "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}}