0.1.1 • Published 7 years ago
ticktack
Simple EventEmitter wrapper of requestAnimationFrame/setTimeout.
Installation
npm install ticktack
Example
var Tick = require('ticktack');
var tick = new Tick();
tick.on('tick', function(tick, date) {
console.log('tick: ' + date);
});
License
MIT