{"id":21182099,"url":"https://github.com/dkunin/date-streak","last_synced_at":"2026-06-09T16:31:49.057Z","repository":{"id":72882683,"uuid":"105396537","full_name":"DKunin/date-streak","owner":"DKunin","description":"Fiddle with date streaks","archived":false,"fork":false,"pushed_at":"2017-10-07T21:43:52.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-08T12:05:23.027Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DKunin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-30T19:48:56.000Z","updated_at":"2021-01-12T03:14:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"a8ece9b0-c7a7-4500-a976-327a5dd15818","html_url":"https://github.com/DKunin/date-streak","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"322a9b045e63184fc20a4b53b51c5dd56f8a271c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DKunin/date-streak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fdate-streak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fdate-streak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fdate-streak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fdate-streak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DKunin","download_url":"https://codeload.github.com/DKunin/date-streak/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DKunin%2Fdate-streak/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34116457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-09T02:00:06.510Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T17:55:46.217Z","updated_at":"2026-06-09T16:31:49.030Z","avatar_url":"https://github.com/DKunin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Date Streak\n\nFor now only one function, which determines if you are currently on a streak of dates, and the length of the last streak.\n\n```\n    import { determineStreak } from 'date-streak';\n\n    determineStreak([\n        today,\n        yesterday,\n        twoDaysAgo,\n        threeDaysAgo,\n        fourDaysAgo,\n        fiveDaysAgo,\n        sixDaysAgo,\n        sevenDaysAgo\n    ]) // { isCurrentlyOnStreak: true, lengthOfTheLastStreak: 8 }\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkunin%2Fdate-streak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdkunin%2Fdate-streak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdkunin%2Fdate-streak/lists"}