❯❯❯ Great Circle Distance Calculator
A npm package to calculate the distance between two coordinates on the earth. Read more about it here.
Installation and Usage
npm install great-circle-distance-calculator --save
```sh
const { greatCircleDistance } = require("great-circle-distance");
const coords = {
latitude1: "12.9611159",
longitude1: "77.6362214",
latitude2: "12.9611159",
longitude2: "75.6362214"
};
distancelength(coords);
// => 216.723363263401 kms
Node.js version
any version greater than v7.6.x.
Contribute
Open a pull request against the master.
Also, ⭐ the repo to make it reach to others.
LICENSE
MIT