@jam3/stats

1.0.1 • Public • Published

stats

Default Performance Monitor @ Jam3

Installation

npm install @jam3/stats

Usage

The module is exporting a function, therefore after importing it, call that function. You will have the stats monitor running immediately in your browser.

const stats = require('@jam3/stats');

stats();

It's recommended to use this library only in development, a common way to use it at Jam3 is:

if (process.env.NODE_ENV !== 'production' && window.location.href.indexOf('?nostat') === -1) require('./util/stats')();

Package Sidebar

Install

npm i @jam3/stats

Weekly Downloads

108

Version

1.0.1

License

MIT

Unpacked Size

11.4 kB

Total Files

12

Last publish

Collaborators

  • hperigo
  • gabroell
  • josdelgaur
  • jam3dev
  • njam3
  • iranreyes
  • namniak
  • donghyukjang
  • alemesa
  • neoli
  • colin-j3
  • jmckinnell
  • n0wak
  • amelierosser
  • artemleznikov
  • jeffong