{"id":26722957,"url":"https://github.com/useallfive/current-location","last_synced_at":"2025-07-01T10:35:06.253Z","repository":{"id":11538861,"uuid":"14023654","full_name":"UseAllFive/current-location","owner":"UseAllFive","description":"JavaScript helper for getting current location in browser and dealing with the response.","archived":false,"fork":false,"pushed_at":"2013-10-31T19:48:56.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T20:43:17.133Z","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/UseAllFive.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}},"created_at":"2013-10-31T17:27:49.000Z","updated_at":"2013-10-31T19:50:11.000Z","dependencies_parsed_at":"2022-08-29T05:21:54.058Z","dependency_job_id":null,"html_url":"https://github.com/UseAllFive/current-location","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/UseAllFive/current-location","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UseAllFive%2Fcurrent-location","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UseAllFive%2Fcurrent-location/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UseAllFive%2Fcurrent-location/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UseAllFive%2Fcurrent-location/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UseAllFive","download_url":"https://codeload.github.com/UseAllFive/current-location/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UseAllFive%2Fcurrent-location/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262944672,"owners_count":23388803,"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":"2025-03-27T20:38:25.624Z","updated_at":"2025-07-01T10:35:06.230Z","avatar_url":"https://github.com/UseAllFive.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Documentation\n\n## Example usage\n\n```javascript\nwindow.currentLocation.init({\n\t\"success\": function(position) {\n\t\t//-- Do something with position object\n\t}\n});\n```\n\n## Options\n\n| Option        \t | Type          | Arguments  | Default                 |\n|--------------------|---------------|------------|-------------------------|\n| success       \t | function      | position   | log position in console |\n| error         \t | function      | err \t      | log error in console    |\n| enableHighAccuracy | boolean       |      \t  |\tfalse                   |\n| timeout       \t | number        |            | Infinity                |\n| maximumAge      \t | number        |  \t      | 0                       |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseallfive%2Fcurrent-location","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuseallfive%2Fcurrent-location","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuseallfive%2Fcurrent-location/lists"}