extra credit Search 85,062 technologies ⌘K Download for Mac

@turf/point-to-line-distance

Calculates the distance between a given point and the nearest point on a line.

npm install @turf/point-to-line-distance
↑↓ move ↵ open