web-perf

2.0.0 • Public • Published

Build Status Coverage

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

/web-perf/

    Package Sidebar

    Install

    npm i web-perf

    Weekly Downloads

    7

    Version

    2.0.0

    License

    MIT

    Unpacked Size

    7.72 kB

    Total Files

    10

    Last publish

    Collaborators

    • kael