micro-raf

A tiny ponyfill for requestAnimationFrame.

Usage no npm install needed!

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

README

Coveralls – test coverage Travis – build status David – status of dependencies Stability: stable Code style: airbnb

micro-raf

A tiny ponyfill for requestAnimationFrame.

Makes your app testable for just 100 B.





Installation

$ npm install micro-raf

Usage

const raf = require('micro-raf');

raf(() => console.log('Next frame!'));

Works in node and browsers.

License

MIT © Studio B12 GmbH