Gathering detailed insights and metrics for @spatial/voronoi
Gathering detailed insights and metrics for @spatial/voronoi
Gathering detailed insights and metrics for @spatial/voronoi
Gathering detailed insights and metrics for @spatial/voronoi
A modular geospatial engine written in JavaScript and TypeScript
npm install @spatial/voronoi
Typescript
Module System
Node Version
NPM Version
TypeScript (86.94%)
JavaScript (13.05%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
9,841 Stars
3,791 Commits
981 Forks
179 Watchers
48 Branches
177 Contributors
Updated on Jul 14, 2025
Latest Version
2.0.0
Package Id
@spatial/voronoi@2.0.0
Unpacked Size
10.46 kB
Size
3.07 kB
File Count
7
NPM Version
lerna/3.22.1/node@v12.18.2+x64 (linux)
Node Version
12.18.2
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
3
Takes a FeatureCollection of points, and a bounding box, and returns a FeatureCollection of Voronoi polygons.
The Voronoi algorithim used comes from the d3-voronoi package.
points
FeatureCollection<Point> to find the Voronoi polygons around.options
Object Optional parameters (optional, default {}
)
1var options = { 2 bbox: [-70, 40, -60, 60] 3}; 4var points = turf.randomPoint(100, options); 5var voronoiPolygons = turf.voronoi(points, options); 6 7//addToMap 8var addToMap = [voronoiPolygons, points];
Returns FeatureCollection<Polygon> a set of polygons, one per input point.
This module is part of the Turfjs project, an open source module collection dedicated to geographic algorithms. It is maintained in the Turfjs/turf repository, where you can create PRs and issues.
Install this module individually:
1$ npm install @spatial/voronoi
Or install the Turf module that includes it as a function:
1$ npm install @turf/turf
No vulnerabilities found.
Reason
security policy file detected
Details
Reason
all changesets reviewed
Reason
25 commit(s) and 15 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
project is fuzzed
Details
Reason
all dependencies are pinned
Details
Reason
7 existing vulnerabilities detected
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More