vsync-estimate

0.2.0 • Public • Published

vsync-estimate

Estimate browser vsync using rAF

Usage

import estimateVSync from 'vsync-estimate';

estimateVSync().then(refreshRate => { console.log(Estimated Vsync: ${Math.round(refreshRate)}Hz); })

Readme

Keywords

none

Package Sidebar

Install

npm i vsync-estimate

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

2.46 kB

Total Files

4

Last publish

Collaborators

  • fernandojsg