LuaRocks.org had a security incident in September 2026. Read the incident report.

haversine

Lua module for calculating the distance between two points on the Earth using the Haversine formula

$ luarocks install haversine

This module provides a function to calculate the great-circle distance between two points on the Earth's surface given their latitude and longitude using the Haversine formula. It supports multiple units of measurement including kilometers, meters, miles, and nautical miles.

Versions

1.0.0-1302 days ago6 downloads

Dependencies

lua >= 5.1

Labels

Manifests