whs-module-statsjs

0.1.0 • Public • Published

whs-module-statsjs - Module for JavaScript Performance Monitor

Based of stats.js. Thanks to @mrdoob

Usage

const app = new WHS.App([
  new WHS.app.ElementModule(), // This module is required
  // other modules
  new StatsModule(StatsModule.codes.fps) // or just "0"
]);

Exported dependencies

Name Description Alias
stats Stats object provided by stats.js app.$stats

See stats.js example for full codes list

Screenshots

Screenshot

Readme

Keywords

Package Sidebar

Install

npm i whs-module-statsjs

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • alex2401