micro-raf
v1.0.0
Published
A tiny ponyfill for requestAnimationFrame.
Downloads
8
Readme
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.