1.0.1 • Published 4 years ago

great-circle-distance-calculator v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

Installation and Usage

npm install great-circle-distance-calculator --save
```bash
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