Distance
Find the distance in meters or kilometers between two locations.
To install this package you can use NPM or Yarn it's up to you.
yarn add denzyldick/distance
After installing the package you can use it like the example below.
import {Distance, Location} from 'denzyldick/distance';
let newYork = new Location(40.730610,-73.935242);
let london = new Location(51.509865,-0.118092);
let distance = new Distance(newYork,london);
distance.inMiles(); //
distance.inKilometers(); //