Calculate the Manhattan distance between two points
npm install manhattanThis module exposes the function distance(a, b), which determines the Manhattan distance between points a and b.
``js`
> const distance = require('manhattan')
> distance([2, 5], [4, 8])
5

- calculate Euclidean distance - calculate Chebyshev distance - more vector math