@turf/nearest-neighbor-analysis
Calculates an index based the average distances between points in the dataset, thereby providing inference as to whether the data is clustered, dispersed, or randomly distributed within the study area.
@turf/nearest-neighbor-analysis@7.4.0 was published on 2026-08-03. Its manifest declares 10 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. No Node.js engine requirement is declared in this manifest.
All @turf/nearest-neighbor-analysis versions · Permanent reference to 7.4.0 · View npm registry JSON
Package specifications
| Version | 7.4.0 |
|---|---|
| License declaration | MIT |
| Published | 2026-08-03T15:31:13.349Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 10 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 34.82 KiB |
| Published file count | 9 |
| Package type | module |
| ES module entry | dist/esm/index.js |
| Default entry | dist/cjs/index.cjs |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 12 |
| Repository stars | 10527 |
| Repository forks | 1027 |
Install @turf/nearest-neighbor-analysis 7.4.0
npm install @turf/nearest-neighbor-analysis@7.4.0 pnpm add @turf/nearest-neighbor-analysis@7.4.0 yarn add @turf/nearest-neighbor-analysis@7.4.0
Runtime dependencies
- @types/geojson ^7946.0.10
- tslib ^2.8.1
- @turf/area 7.4.0
- @turf/bbox 7.4.0
- @turf/bbox-polygon 7.4.0
- @turf/distance 7.4.0
- @turf/helpers 7.4.0
- @turf/centroid 7.4.0
- @turf/meta 7.4.0
- @turf/nearest-point 7.4.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @turf/area@7.4.0 — direct
- @turf/bbox@7.4.0 — direct
- @turf/bbox-polygon@7.4.0 — direct
- @turf/centroid@7.4.0 — direct
- @turf/clone@7.4.0 — indirect
- @turf/distance@7.4.0 — direct
- @turf/helpers@7.4.0 — direct
- @turf/invariant@7.4.0 — indirect
- @turf/meta@7.4.0 — direct
- @turf/nearest-point@7.4.0 — direct
- @types/geojson@7946.0.16 — direct
- tslib@2.9.1 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Maintained | 10/10 — 30 commit(s) and 7 issue activity found in the last 90 days -- score normalized to 10 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Security-Policy | 10/10 — security policy file detected |
| Code-Review | 0/10 — Found 1/27 approved changesets -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| License | 10/10 — license file detected |
| Pinned-Dependencies | 10/10 — all dependencies are pinned |
| Fuzzing | 10/10 — project is fuzzed |
| Packaging | 10/10 — packaging workflow detected |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-06T20:30:35.276Z
- https://api.deps.dev/v3/projects/github.com%2FTurfjs%2Fturf — retrieved 2026-11-06T09:52:09.537Z
- https://api.deps.dev/v3/systems/npm/packages/%40turf%2Fnearest-neighbor-analysis/versions/7.4.0 — retrieved 2026-11-06T20:30:35.378Z
- https://api.deps.dev/v3/systems/npm/packages/%40turf%2Fnearest-neighbor-analysis/versions/7.4.0:dependencies — retrieved 2026-11-06T20:30:35.474Z