{"id":19721913,"url":"https://github.com/turfjs/turf-voronoi","last_synced_at":"2026-06-07T22:33:41.487Z","repository":{"id":24843732,"uuid":"28258621","full_name":"Turfjs/turf-voronoi","owner":"Turfjs","description":"Create voronoi polygons from a set of points","archived":false,"fork":false,"pushed_at":"2015-10-21T20:30:33.000Z","size":184,"stargazers_count":4,"open_issues_count":2,"forks_count":0,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-02-28T00:29:26.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://turfjs.org/","language":"JavaScript","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/Turfjs.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":"2014-12-20T06:02:57.000Z","updated_at":"2019-07-08T23:14:43.000Z","dependencies_parsed_at":"2022-08-23T06:01:04.542Z","dependency_job_id":null,"html_url":"https://github.com/Turfjs/turf-voronoi","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Turfjs/turf-voronoi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turfjs%2Fturf-voronoi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turfjs%2Fturf-voronoi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turfjs%2Fturf-voronoi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turfjs%2Fturf-voronoi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Turfjs","download_url":"https://codeload.github.com/Turfjs/turf-voronoi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Turfjs%2Fturf-voronoi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34041087,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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-11T23:15:54.129Z","updated_at":"2026-06-07T22:33:41.464Z","avatar_url":"https://github.com/Turfjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# turf-voronoi\n\n[![build status](https://secure.travis-ci.org/Turfjs/turf-voronoi.png)](http://travis-ci.org/Turfjs/turf-voronoi)\n\nturf voronoi module\n\n\n### `turf.voronoi(points)`\n\nUnder Development - Not ready for use!\nTakes a set of Point|points and\ncreates [Voronoi Polygons](https://en.wikipedia.org/wiki/Voronoi_diagram),\nreturned as a collection of Polygons. These are often used\nfor partitioning in to regions called Voronoi cells.\n\n### Parameters\n\n| parameter | type                         | description  |\n| --------- | ---------------------------- | ------------ |\n| `points`  | FeatureCollection\\.\\\u003cPoint\\\u003e | input points |\n\n\n### Example\n\n```js\n// generate some random point data\nvar points = turf.random('points', 30, {\n  bbox: [50, 30, 70, 50]\n});\nvar voronoi = turf.voronoi(points);\n//=voronoi\n```\n\n\n**Returns** `FeatureCollection.\u003cPolygon\u003e`, Voronoi output\n\n## Installation\n\nRequires [nodejs](http://nodejs.org/).\n\n```sh\n$ npm install turf-voronoi\n```\n\n## Tests\n\n```sh\n$ npm test\n```\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturfjs%2Fturf-voronoi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fturfjs%2Fturf-voronoi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fturfjs%2Fturf-voronoi/lists"}