Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@codewell/distance

Calculates the distance between two coordinates {x: x1, y: y1} and {x: x2, y: y2}.

Installation

npm install @codewell/distance

Basic usage

import distance from '@codewell/distance';

distance({x: 1, y: 1}, {x: 4, y: 5}); // => 5

About

Distance between two coordinates

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages