flo-graham-scan

Function that finds the convex hull of a set of points via the Graham Scan algorithm.

Usage no npm install needed!

<script type="module">
  import floGrahamScan from 'https://cdn.skypack.dev/flo-graham-scan';
</script>

README

This package is ESM only and can be used in Node.js (or in a browser when bundled using e.g. Webpack).

Additionally, self-contained ECMAScript Module (ESM) files index.module.js and index.module.min.js in the ./browser folder is provided.

Or, if you need a legacy browser script there is also index.js and index.min.js in the ./browser folder. Either script exposes a global variable.