0.0.3 • Published 5 years ago

manhattan-distance v0.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

Manhattan Distance

A small library that calculate manhattan distance between 2 lat lngs

Installation

npm install manhattan-distance

Usage

var manhattan = require('manhattan-distance');

var manhattanDistance = manhattan(12.795251, 80.198697,12.8708,80.1078);

Output should be 18.51KM

Tests

npm test

Contributing

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.

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago