calculate-euclidean-distance
v1.0.0
Published
A function that takes two points on a 2D plane and returns the distance between them.
Downloads
1
Maintainers
Readme
About
This is a simple library to calculate the euclidean distance between two points.
Usage
import euclideanDistance from "calculate-euclidean-distance";
const distance = euclideanDistance({ x: 0, y: 0 }, { x: 3, y: 4 });
console.log(distance); // 5
Hire Me
Want to hire a kickass senior frontend dev?
Email me at [email protected]. LinkedIn: https://www.linkedin.com/in/imrankhan001/
P.S: I excel in Remote Work Only