An accurate javascript timer for the browser.
It uses a web worker and performance.now
.
http://caniuse.com/#search=performance.now
http://caniuse.com/#search=web%20worker
npm install accurate-timer-js --save
bower install accurate-timer-js --save
var delay = 1000; // milliseconds
var timer = new AccurateTimer(function tick() {
console.log('tick');
this.stop();
}, delay);
timer.start();
First release
Minor changes