0.1.2 • Published 10 months ago

@overengineering/fps-meter v0.1.2

Weekly downloads
-
License
-
Repository
github
Last release
10 months ago

fps-meter npm.io

Fast and simple FPS meter for React. Renders to a canvas element and uses requestAnimationFrame to update the FPS counter.

Install

pnpm add @overengineering/fps-meter

Usage

import React from 'react'
import { FPSMeter } from '@overengineering/fps-meter'

export const MyApp: React.FC = () => {
  return (
    <div>
      <FPSMeter className="absolute right-0 top-0" height={40} />
    </div>
  )
}
0.1.2

10 months ago