raf-shim

This is a browserify compatible shim for request and cancel animation frame

Usage no npm install needed!

<script type="module">
  import rafShim from 'https://cdn.skypack.dev/raf-shim';
</script>

README

This is a very small TESTED requestAnimationFrame and cancelAnimationFrame shim designed to be consumed by browser applications that are using browserify and npm to build and include dependencies.