0.0.0 • Published 7 years ago

euclidean v0.0.0

Weekly downloads
37
License
MIT
Repository
github
Last release
7 years ago

euclidean

Calculate the Euclidean distance between two points

Euclidean distance

This module exposes the function distance(a, b), which determines the Euclidean distance between points a and b.

> const distance = require('euclidean')
> distance([0, 0], [2, 2])
3

NPM

see also

license

MIT © Brandon Semilla