get-window-offset

A simple library to tell you where could get best space by a target to put your container.

Usage no npm install needed!

<script type="module">
  import getWindowOffset from 'https://cdn.skypack.dev/get-window-offset';
</script>