distance-component

get the distance between two points

distance

Find the distance between two points

Install with component(1):

$ component install component/distance

Get the distance between two points

distance(0, 4, 3, 0) // 5 

MIT