loop-request

A piece of code for you to replace setInterval with requestAnimationFrame in order to create smoother and less buggy loop.

Usage no npm install needed!

<script type="module">
  import loopRequest from 'https://cdn.skypack.dev/loop-request';
</script>

README

Sorry this module is no longer maintained. I rebuilt and renamed the module. Please check out better-interval instead