1.0.0 • Published 1 year ago
harvesinedistance v1.0.0
About
This is a simple library to calculate the distance between two points on the earth using the Haversine formula.
Usage
import calculateHaversineDistance from "harvesinedistance";
const distance = calculateHaversineDistance(
{ latitude: 51.509865, longitude: -0.118092 },
{ latitude: 51.503333, longitude: -0.119722 }
);
console.log(distance); // 0.549
Hire Me
Want to work with a kickass senior frontend dev?
Email me at ikhan77727@gmail.com. LinkedIn: https://www.linkedin.com/in/imrankhan001/
P.S: I excel in Remote Work Only
1.0.0
1 year ago