lurq

npm package

Home

@turf/distance

@turf/distance is a utility for calculating the straight-line distance between two geographic coordinates using the Haversine formula. It is useful for applications that require distance measurements between locations, such as mapping or geographic analysis. This module is part of the Turfjs project, which focuses on geographic algorithms.

lurq health score
82/100
Confidence
proven
Weekly downloads
2,850,529
Latest version
7.4.0
Last release
Aug 3, 2026
License
MIT

Should you depend on @turf/distance?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks @turf/distance at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Upgrading @turf/distance

What each major version removed, renamed or re-signatured, from lurq's extraction of the published packages.

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 16, 2026; this page refreshes every 168 hours. Source repository.