great-circle-distance-calculator

1.0.1 • Public • Published

❯❯❯ 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

Package Sidebar

Install

npm i great-circle-distance-calculator

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

3.83 kB

Total Files

4

Last publish

Collaborators

  • devsog12