distanceCalculator calculates distance between two coordinates.
npm i distanceCalculator --save
const calculateDis = require('distanceCalculator')
const pointOne = {lat: 40.7767644, lng: -73.9761399};
const pointTwo = {lat: 40.771209, lng: -73.9673991};
calculateDis(pointOne, pointTwo)