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

b12-archive/micro-raf

Repository files navigation

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

About

A tiny ponyfill for requestAnimationFrame

Resources

License

Stars

Watchers

Forks

Packages

No packages published