1.0.0 • Published 7 years ago
fpscounter v1.0.0
fpscounter
A fps counter for browsers
Useage
npm install fpscounterimport 'fpscounter';
console.log(window.fpsCounter.fps);
fps.counter.stop();
fps.counter.start();Polyfill
window.requestAnimationFrame and window.cancelAnimationFrame may not supported by some browsers.
You can use import 'fpscounter/polyfill'; to polyfill it manually.
1.0.0
7 years ago