
Security News
Package Maintainers Call for Improvements to GitHub’s New npm Security Plan
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
@linzjs/geojson
Advanced tools
Utility functions for working with GeoJSON multi polygons and bounding boxes. In particular for handling the anti-meridian.
import { Wgs84 } from '@linzjs/geojson';
assert(Wgs84.normLon(-163.12345 - 720) == -163.12345;
assert(Wgs84.crossesAM(-175, 175));
assert(Wgs84.delta(-175, 170) == -15);
assert(deepEqual(Wgs84.union([175, -42, -178, -41], [-170, -43, -160, -42]), [175, -43, -160, -41]));
import { clipMultipolygon, multiPolygonToWgs84 } from '@linzjs/geojson';
import * as Proj from 'proj4';
// polygons clipped to bounding box; no degenerate edges
const clipped = clipMultipolygon(polygons, [-2, -2, 1, 1]);
const nztmToWgs84 = Proj('epsg:2193', 'epsg:4326').forward;
// nztm polygons converted to wgs84 split at anti-meridian
const splitPolys = multiPolygonToWgs84(nztmPolygons, nztmToWgs84);
8.0.0 (2025-05-11)
FAQs
## GeoJSON computation
The npm package @linzjs/geojson receives a total of 133 weekly downloads. As such, @linzjs/geojson popularity was classified as not popular.
We found that @linzjs/geojson demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.
Product
Socket Firewall is a free tool that blocks malicious packages at install time, giving developers proactive protection against rising supply chain attacks.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.