Gathering detailed insights and metrics for @mapbox/geojson-coords
Gathering detailed insights and metrics for @mapbox/geojson-coords
Gathering detailed insights and metrics for @mapbox/geojson-coords
Gathering detailed insights and metrics for @mapbox/geojson-coords
npm install @mapbox/geojson-coords
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
31 Stars
14 Commits
18 Forks
118 Watching
2 Branches
539 Contributors
Updated on 12 Jun 2024
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-11.9%
44,037
Compared to previous day
Last week
2.2%
258,867
Compared to previous week
Last month
3.8%
1,082,429
Compared to previous month
Last year
16.1%
13,048,219
Compared to previous year
2
1
Extract coordinates from GeoJSON.
npm install --save @mapbox/geojson-coords
coords(geojson)
Given any valid GeoJSON object, return a single array of coordinates that it contains. Handles any root object, collapses multidimensional coordinate arrays and expands point coordinate arrays.
1var geojsonCoords = require('@mapbox/geojson-coords'); 2 3geojsonCoords({ 4 "type": "GeometryCollection", 5 "geometries": [ 6 { 7 "type": "Point", 8 "coordinates": [100.0, 0.0] 9 }, 10 { 11 "type": "LineString", 12 "coordinates": [ [101.0, 0.0], [102.0, 1.0] ] 13 } 14 ] 15}); 16// returns [[100, 0], [101, 0], [102, 1]];
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
branch protection is not maximal on development and all release branches
Details
Reason
Found 2/10 approved changesets -- score normalized to 2
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-11-18
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