{"id":29777519,"url":"https://github.com/buraksakalli/konum","last_synced_at":"2025-07-27T11:06:24.711Z","repository":{"id":57687144,"uuid":"485495190","full_name":"buraksakalli/konum","owner":"buraksakalli","description":"A simple browser location hook for React","archived":false,"fork":false,"pushed_at":"2022-10-20T15:50:59.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-30T15:04:48.998Z","etag":null,"topics":["react-browser-location","react-location","react-location-picker"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/konum","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/buraksakalli.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":"2022-04-25T18:49:23.000Z","updated_at":"2022-04-25T19:02:17.000Z","dependencies_parsed_at":"2022-09-14T07:12:02.151Z","dependency_job_id":null,"html_url":"https://github.com/buraksakalli/konum","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/buraksakalli/konum","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraksakalli%2Fkonum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraksakalli%2Fkonum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraksakalli%2Fkonum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraksakalli%2Fkonum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buraksakalli","download_url":"https://codeload.github.com/buraksakalli/konum/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buraksakalli%2Fkonum/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267347334,"owners_count":24072656,"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-07-27T02:00:11.917Z","response_time":82,"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":["react-browser-location","react-location","react-location-picker"],"created_at":"2025-07-27T11:06:22.929Z","updated_at":"2025-07-27T11:06:24.706Z","avatar_url":"https://github.com/buraksakalli.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Konum\n\n[![npm version](https://badge.fury.io/js/konum.svg)](https://badge.fury.io/js/konum)\n\n![konum](https://user-images.githubusercontent.com/10114716/196001630-56f438ed-2e09-4e9f-872d-628a2ee3e238.gif)\n\nKonum (means location in Turkish) is a primary browser location provider for React.\n\n## Installation\n\n```bash\nyarn add konum\n#or\nnpm i konum\n```\n\n## Usage\n\n```tsx\nimport { useKonum } from \"konum\";\n\nconst { data, isAllowed, error } = useKonum();\n```\n\n## Props\n\n| Props         | Type    | Description                                       |\n| ------------- | ------- | ------------------------------------------------- |\n| **data**      | object  | It returns two attributes longitude and latitude. |\n| **isAllowed** | boolean | It changes based on user's allow.                 |\n| **error**     | string  | It returns error message                          |\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburaksakalli%2Fkonum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburaksakalli%2Fkonum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburaksakalli%2Fkonum/lists"}