
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@math.gl/polygon
Advanced tools
math.gl is a suite of math modules for 3D applications.
This module contains utilities that work with polylines and polygons.
For documentation please visit the website.
Turf is a comprehensive geospatial analysis library for JavaScript. It offers a wide range of functionalities including polygon operations, distance calculations, and spatial analysis. Compared to @math.gl/polygon, Turf provides a broader set of geospatial tools but may be more complex to use for simple polygon operations.
Polygon Clipping is a library focused specifically on polygon clipping operations. It is highly optimized for performance and can handle complex polygon intersections. While it offers similar clipping functionalities as @math.gl/polygon, it does not provide other features like triangulation or point-in-polygon tests.
Earcut is a fast and robust library for polygon triangulation. It is widely used in graphics applications for breaking down complex polygons into triangles. Compared to @math.gl/polygon, Earcut is specialized in triangulation and does not offer other polygon operations.
FAQs
Polygon/polyline processing utilities
The npm package @math.gl/polygon receives a total of 367,189 weekly downloads. As such, @math.gl/polygon popularity was classified as popular.
We found that @math.gl/polygon demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.