pointincircle
Tests if a point is contained within a circle defined by three nonlinear unique points. Returns 1 if the point is inside the circle; 0 if the point is on the circle; and -1 if the point is outside the circle
Usage no npm install needed!
<script type="module">
import pointincircle from 'https://cdn.skypack.dev/pointincircle';
</script>