mechoga

1.0.0 • Public • Published

Mechoga

This tool is used to calculate distance between points on Earth, known as great circle distance.

Usage:

const { greatCircleDistance } = require('mechoga');

const point1 = { latitude: 51.5, longitude: -0.1 };
const point2 = { latitude: 51.5, longitude: -0.2 };

console.log(greatCircleDistance(lat, lng));

Readme

Keywords

none

Package Sidebar

Install

npm i mechoga

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

2.88 kB

Total Files

5

Last publish

Collaborators

  • configurator