2.0.0 • Published 5 years ago
web-perf v2.0.0
web-perf
Indicators for web performance
Install
$ npm i web-perf
fps
import {
fps
} from 'web-perf'
console.log(fps.value) // 59.5
fps.stop() // stop collecting frames
fps.start() // start / restart collecting
fps.callback = value => {
// invoked every second
}
License
MIT