fpscounter
A fps counter for browsers
Useage
npm install fpscounter
;console;fpscounter;fpscounterstart;
Polyfill
window.requestAnimationFrame
and window.cancelAnimationFrame
may not supported by some browsers.
You can use import 'fpscounter/polyfill';
to polyfill it manually.