A small library that calculate manhattan distance between 2 lat lngs
npm install manhattan-distance
var manhattan = require('manhattan-distance');
var manhattanDistance = manhattan(12.795251, 80.198697,12.8708,80.1078);
Output should be 18.51KM
npm test
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.