Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 754 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 754 Bytes

Haversine Distance

The haversine formula determines the great-circle distance between two points on a sphere given their longitudes and latitudes (Read More). In this example the earth will be the sphere that will be used to calculate the distance between two geographical coordinates.

Installation

Install node dependencies using

npm install

Usage

npm run distance

This will execute index.ts containing a default example. You can edit this file to fit for your needs.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT