distancecalculator_formula
v1.0.1
Published
distance calculator between 2 addresses
Downloads
1
Readme
What is this?
distanceCalculator calculates distance between two coordinates.
Installation
npm i distanceCalculator --save
Usage
const calculateDis = require('distanceCalculator')
Coordinates of point
const pointOne = {lat: 40.7767644, lng: -73.9761399};
const pointTwo = {lat: 40.771209, lng: -73.9673991};
calculateDis(pointOne, pointTwo)