{"id":15673415,"url":"https://github.com/satyarohith/cardinal","last_synced_at":"2026-05-19T07:08:53.141Z","repository":{"id":62421887,"uuid":"321377787","full_name":"satyarohith/cardinal","owner":"satyarohith","description":"A Deno module to get compass direction (16 directions) from degree.","archived":false,"fork":false,"pushed_at":"2021-03-21T09:23:17.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-10T09:18:33.233Z","etag":null,"topics":["cardinal","compass","deno","module","wind-direction"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/satyarohith.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-14T14:43:53.000Z","updated_at":"2021-03-22T00:34:13.000Z","dependencies_parsed_at":"2022-11-01T17:32:54.855Z","dependency_job_id":null,"html_url":"https://github.com/satyarohith/cardinal","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyarohith%2Fcardinal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyarohith%2Fcardinal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyarohith%2Fcardinal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satyarohith%2Fcardinal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/satyarohith","download_url":"https://codeload.github.com/satyarohith/cardinal/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246281216,"owners_count":20752207,"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":["cardinal","compass","deno","module","wind-direction"],"created_at":"2024-10-03T15:40:29.531Z","updated_at":"2025-10-24T19:40:34.091Z","avatar_url":"https://github.com/satyarohith.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Cardinal\n\n![ci](https://github.com/satyarohith/cardinal/actions/workflows/ci.yml/badge.svg)\n\n\u003cp align=\"center\"\u003e\n\u003cimg alt=\"16-point compass rose\" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/Brosen_windrose.svg/1280px-Brosen_windrose.svg.png\" width=\"40%\"\u003e\n\u003c/p\u003e\n\nGet direction for the provided degree based on a 16-point compass rose.\n\n```ts\nimport { getDirection } from \"https://deno.land/x/cardinal/mod.ts\";\nconsole.log(getDirection(135)); // SE\nconsole.log(getDirection(135, { long: true })); // southeast\n```\n\n[MIT](LICENSE) License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatyarohith%2Fcardinal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatyarohith%2Fcardinal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatyarohith%2Fcardinal/lists"}