{"adoption": {"forks": 440, "observed_at": "2026-08-28T04:08:05.728927+00:00", "stars": 3463}, "canonical_url": "https://ross.abutalabs.com/products/suncalc", "card": {"archived": false, "artifact_type": "library", "description": "A tiny JavaScript library for calculating sun/moon positions and phases.", "domain": ["astronomy", "cross-platform"], "enriched": true, "function": ["math", "sdk"], "health_score": 95, "homepage": null, "language": "JavaScript", "license": "BSD-2-Clause", "license_family": "permissive", "maturity": "stable", "member_repos": ["mourner/suncalc"], "name": "mourner/suncalc", "platform": ["browser"], "pushed_at": "2026-07-11T10:56:17+00:00", "repo": "mourner/suncalc", "stars": 3463, "tags": ["sun-position", "moon-phase", "sunrise-sunset", "astronomical-calculations", "dependency-free", "algorithms", "javascript", "nodejs"], "topics": [], "urls": [], "use_cases": ["calculate sunrise and sunset times for a location", "get sun azimuth and altitude for photography planning", "compute moon phase and moonrise times", "determine twilight and dusk times for a given date and coordinates", "add day/night lighting calculations to a web app or game"], "what_it_is": "SunCalc is a tiny, dependency-free JavaScript library for calculating sun position, sunlight phases (sunrise, sunset, dusk), moon position, moonrise/moonset times, and lunar phase for any location and time. Its calculations are based on Jean Meeus' Astronomical Algorithms and match the accuracy of timeanddate.com and the U.S. Naval Observatory.", "when_to_avoid": ["you need high-precision ephemeris-grade astronomical data", "you need calculations for planets, stars, or other celestial bodies", "you work outside JavaScript"], "when_to_choose": ["you need lightweight, dependency-free sun/moon calculations in JavaScript", "you want accuracy matching timeanddate.com or the U.S. Naval Observatory", "you need both browser and Node.js support with a simple API"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/suncalc", "repo": "mourner/suncalc", "role": "main", "score": 94}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "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:08:05.728927+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:05.728927+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:36:53.683384+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "88c6854b5aec3c1ce898acffc1def473ade091a54ff102cdff628d5c8ed94b52", "fetched_at": "2026-08-28T04:08:05.728927+00:00", "kind": "readme", "missing": false, "url": "https://github.com/mourner/suncalc"}, {"content_hash": "26c4d68532dba715da27c7aa43b31e443f4263789384a3bf4f386602cfaf6c70", "fetched_at": "2026-08-29T09:31:05.563859+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/suncalc"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 92, "longevity": 100, "rhythm": 92}, "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": 5487, "days_push": 53, "days_rel": 53, "gap_med": 23, "n_releases_24m": 2}, "score": 94, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}