Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@jam3/stats

Package Overview
Dependencies
Maintainers
16
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jam3/stats

Default Performance Monitor @ Jam3

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
16
Created
Source

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')();

Keywords

monitor

FAQs

Package last updated on 03 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts