@turf/distance

npmv7.3.5

Measures the straight-line distance between two points, like cities or landmarks.

License MITpermissive64 versions9 maintainers4 deps3,035,805 weekly dl
git://github.com/Turfjs/turf
87
/ 100
Health
safe to use

@turf/[email protected] is safe to use (health: 87/100)

Health breakdown0 – 100
25/25
maintenance
17/20
popularity
25/25
security
15/15
maturity
5/15
community
Vulnerabilities
0
none known

Bundle & TypeScript

📦

Bundle Size

1.2 KBminified
0.7 KB gzipped
4 direct dependencies
ESMscoped
🌟

TypeScript

10/10typed
bundled

Health History

Dependency Tree

License Audit

API access

Get this data programmatically — free, no authentication.

curl https://depscope.dev/api/check/npm/@turf/distance

First published · 2016-07-06T15:57:59.157Z

Last updated · 2026-04-19T12:06:03.073Z