Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

Latest commit

 

History

History
86 lines (53 loc) · 1.68 KB

Readme.md

File metadata and controls

86 lines (53 loc) · 1.68 KB

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.

Credits

Inspired by ainojs-requestframe which is no longer maintained.

License

MIT © Studio B12 GmbH