Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
turf-voronoi-delaunay
Advanced tools
Takes a FeatureCollection of points, and a bounding box, and returns a FeatureCollection of Voronoi polygons.
The Voronoi algorithim used comes from the d3-delaunay package.
points
FeatureCollection<Point> to find the Voronoi polygons around.
options
Options Optional parameters (optional, default {keepProperties:false,bbox:[-180,-85,180,85]}
)
const options = {
bbox: [-70, 40, -60, 60]
};
const points = turf.randomPoint(100, options);
const voronoiPolygons = voronoiDelaunay(points, options);
//addToMap
const addToMap = [voronoiPolygons, points];
Returns FeatureCollection<Polygon> a set of polygons, one per input point.
This module can be used together with the Turfjs project, an open source module collection dedicated to geographic algorithms. It is maintained in the Turfjs/turf repository.
Install this module:
$ npm install turf-voronoi-delaunay
To install the Turf module:
$ npm install @turf/turf
FAQs
turf voronoi module based on d3-delaunay
The npm package turf-voronoi-delaunay receives a total of 1 weekly downloads. As such, turf-voronoi-delaunay popularity was classified as not popular.
We found that turf-voronoi-delaunay demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.