{"id":13425974,"url":"https://github.com/stepankuzmin/h3-polyfill","last_synced_at":"2025-04-14T11:14:36.172Z","repository":{"id":44159493,"uuid":"157535651","full_name":"stepankuzmin/h3-polyfill","owner":"stepankuzmin","description":"Uber h3 polyfill CLI","archived":false,"fork":false,"pushed_at":"2023-07-18T19:59:18.000Z","size":1942,"stargazers_count":8,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-14T11:14:24.179Z","etag":null,"topics":["geospatial","h3","hexagon","spatial-index","turf","uber"],"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/stepankuzmin.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-11-14T11:00:55.000Z","updated_at":"2023-08-27T01:54:34.000Z","dependencies_parsed_at":"2023-09-25T01:46:26.914Z","dependency_job_id":"c434ddd9-4951-461a-b274-2b524256ba62","html_url":"https://github.com/stepankuzmin/h3-polyfill","commit_stats":{"total_commits":35,"total_committers":4,"mean_commits":8.75,"dds":0.6857142857142857,"last_synced_commit":"691e580b34d82a0e7c143301152579a0d5cb1523"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepankuzmin%2Fh3-polyfill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepankuzmin%2Fh3-polyfill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepankuzmin%2Fh3-polyfill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stepankuzmin%2Fh3-polyfill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stepankuzmin","download_url":"https://codeload.github.com/stepankuzmin/h3-polyfill/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868766,"owners_count":21174758,"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":["geospatial","h3","hexagon","spatial-index","turf","uber"],"created_at":"2024-07-31T00:01:23.291Z","updated_at":"2025-04-14T11:14:36.144Z","avatar_url":"https://github.com/stepankuzmin.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others"],"sub_categories":[],"readme":"# h3-polyfill\n\n[![Build Status](https://travis-ci.org/stepankuzmin/h3-polyfill.svg?branch=master)](https://travis-ci.org/stepankuzmin/h3-polyfill)\n\n`h3-polyfill` is a library and a command line interface to Uber [h3 polyfill](https://github.com/uber/h3-js#module_h3.polyfill).\n\nIt takes an input polygon as a GeoJSON file and outputs hex as a GeoJSON polygon feature collection.\n\n![screenshot](https://raw.githubusercontent.com/stepankuzmin/h3-polyfill/master/example.png)\n\n## Installation\n\n```shell\nnpm i h3-polyfill\n```\n\n## Usage\n\n```js\nconst h3Polyfill = require(\"h3-polyfill\");\n\nconst polygon = {\n  type: \"Feature\",\n  properties: {},\n  geometry: {\n    type: \"Polygon\",\n    coordinates: [\n      [\n        [-122.40898669999721, 37.81331899998324],\n        [-122.35447369999936, 37.71980619999785],\n        [-122.4798767000009, 37.815157199999845],\n        [-122.40898669999721, 37.81331899998324]\n      ]\n    ]\n  }\n};\n\nconst hex = h3Polyfill(polygon, 7);\n```\n\n## CLI Usage\n\n```shell\nUsage: h3-polyfill \u003cpolygon.geojson\u003e \u003cresolution\u003e\n```\n\nExample:\n\n```shell\nnpx h3-polyfill polygon.geojson 7 \u003e hex.geojson\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepankuzmin%2Fh3-polyfill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstepankuzmin%2Fh3-polyfill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstepankuzmin%2Fh3-polyfill/lists"}