{"id":20585874,"url":"https://github.com/phocks/isit","last_synced_at":"2025-03-06T12:46:27.354Z","repository":{"id":258477426,"uuid":"873995973","full_name":"phocks/isit","owner":"phocks","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-17T23:09:42.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T08:45:19.693Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/phocks.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":"2024-10-17T04:40:05.000Z","updated_at":"2024-10-17T23:09:45.000Z","dependencies_parsed_at":"2024-10-19T07:24:46.335Z","dependency_job_id":null,"html_url":"https://github.com/phocks/isit","commit_stats":null,"previous_names":["phocks/is-day"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fisit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fisit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fisit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phocks%2Fisit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phocks","download_url":"https://codeload.github.com/phocks/isit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242213609,"owners_count":20090694,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-16T07:09:36.088Z","updated_at":"2025-03-06T12:46:27.331Z","avatar_url":"https://github.com/phocks.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# isit\n\nA simple function to check if it is a certain day of the week.\n\n## Usage\n\nInstall with `deno add jsr:@phocks/isit` or `npx jsr add @phocks/isit`.\n\n```ts\nimport { isit } from \"@phocks/isit\";\n\nisit(\"Friday\") ? \"Hooray!\" : \"Boo!\";\n```\n\n## Options\n\nYou can offset the timezone and also pass in a Date.\n\n```ts\nisit(\"Friday\", { offsetHours: 10, when: new Date(\"2021-01-01\") });\n```\n\n## Notes\n\nMight add other things like `isit(\"morning\")` or `isit(\"weekend\")` in the future.\n\n## License\n\nMIT\n\n## Author\n\n[Joshua Byrd](https://bne.social/@phocks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphocks%2Fisit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphocks%2Fisit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphocks%2Fisit/lists"}