Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis

Calculate distance between two points

Installation

npm install @danmmx/distance-between-points

Usage


import calcDistance from '@danmmx/distance-between-points'

const pointA = { x: 1, y: 1 }
const pointB = { x: 2, y: 2 }
const distance = calcDistance(pointA, pointB)

About

Calculate distance between two points

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages