@turf/distance 4.2.0
turf distance module
@turf/distance@4.2.0 was published on 2017-04-30. Its manifest declares 4 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/distance versions · Permanent reference to 4.2.0 · Latest release
Package specifications
| Version | 4.2.0 |
|---|---|
| License declaration | MIT |
| Published | 2017-04-30T21:47:05.119Z |
| Node.js requirement | Not declared |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 19 |
| Repository stars | 10524 |
| Repository forks | 1025 |
Install @turf/distance 4.2.0
npm install @turf/distance@4.2.0 pnpm add @turf/distance@4.2.0 yarn add @turf/distance@4.2.0
Runtime dependencies
- @turf/helpers ^4.2.0
- load-json-file ^2.0.0
- @turf/invariant ^4.2.0
- write-json-file ^2.0.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/helpers@4.7.3 — direct
- @turf/invariant@4.7.3 — direct
- load-json-file@2.0.0 — direct
- write-json-file@2.3.0 — direct
- graceful-fs@4.2.11 — indirect
- parse-json@2.2.0 — indirect
- pify@2.3.0 — indirect
- strip-bom@3.0.0 — indirect
- detect-indent@5.0.0 — indirect
- make-dir@1.3.0 — indirect
- pify@3.0.0 — indirect
- sort-keys@2.0.0 — indirect
- write-file-atomic@2.4.3 — indirect
- error-ex@1.3.4 — indirect
- pify@3.0.0 — indirect
- is-plain-obj@1.1.0 — indirect
- imurmurhash@0.1.4 — indirect
- signal-exit@3.0.7 — indirect
- is-arrayish@0.2.1 — indirect
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
- https://registry.npmjs.org/%40turf%2Fdistance/4.2.0 — retrieved 2026-10-29T17:32:29.688Z
- https://api.deps.dev/v3/projects/github.com%2FTurfjs%2Fturf — retrieved 2026-10-29T12:34:26.529Z
- https://api.deps.dev/v3/systems/npm/packages/%40turf%2Fdistance/versions/4.2.0 — retrieved 2026-10-29T17:32:30.208Z
- https://api.deps.dev/v3/systems/npm/packages/%40turf%2Fdistance/versions/4.2.0:dependencies — retrieved 2026-10-29T17:32:30.225Z