extents

compute the bounding extents of a polygon

Usage no npm install needed!

<script type="module">
  import extents from 'https://cdn.skypack.dev/extents';
</script>

README