{"id":19059618,"url":"https://github.com/erickit/coordinate","last_synced_at":"2025-10-29T14:14:57.528Z","repository":{"id":214517247,"uuid":"246609480","full_name":"EricKit/coordinate","owner":"EricKit","description":"Typescript coordinate class for handling coordinate input and output","archived":false,"fork":false,"pushed_at":"2021-09-15T23:40:21.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T01:43:56.886Z","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/EricKit.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}},"created_at":"2020-03-11T15:32:29.000Z","updated_at":"2021-09-15T23:40:24.000Z","dependencies_parsed_at":"2023-12-28T17:58:55.999Z","dependency_job_id":"349cda3a-5b2e-4593-a973-bf30782602a4","html_url":"https://github.com/EricKit/coordinate","commit_stats":null,"previous_names":["erickit/coordinate"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EricKit/coordinate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricKit%2Fcoordinate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricKit%2Fcoordinate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricKit%2Fcoordinate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricKit%2Fcoordinate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EricKit","download_url":"https://codeload.github.com/EricKit/coordinate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EricKit%2Fcoordinate/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269693593,"owners_count":24460248,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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-09T00:11:06.078Z","updated_at":"2025-10-29T14:14:52.490Z","avatar_url":"https://github.com/EricKit.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# coordinate\nTypescript coordinate class for handling coordinate input and output. If you improve it, please create pull request.\n\n# Usage\nLiberally accepts different coordinate types\n\n```typescript\nconst coordinate = new Coordinate(37.499249, 116.391663);\nconst sameCoordinate = new Coordinate('37 29.9549 -116 23.4998');\nconst sameCoordinate2 = new Coordinate('N 37 29.9549 W 116 23.4998');\nconst sameCoordinate3 = new Coordinate('N 37 29.9549 -116 23.4998');\n\nconsole.log(coordinate.degreesDecimalDegrees());\n// N 37.499249 W 116.391663\n\nconsole.log(coordinate.degreesMinutesDecimalMinutes());\n// N 37 29.9549 W 116 23.4998\n\nconsole.log(coordinate.degreesMinutesSecondsDecimalSeconds());\n// N 37 29 57.3 W 116 29 29.99\n\nconsole.log(coordinate.toFormat('D.D')); // Or `D M.M` or `D M S.S`\n// N 37.499249 W 116.391663\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferickit%2Fcoordinate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferickit%2Fcoordinate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferickit%2Fcoordinate/lists"}