continuous-scroll-handler
returning positive integer if scrolling up, negative if scrolling down
Usage no npm install needed!
<script type="module">
import continuousScrollHandler from 'https://cdn.skypack.dev/continuous-scroll-handler';
</script>