Wondering what’s next for npm?Check out our public roadmap! »

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

    Install

    npm i @jam3/stats

    DownloadsWeekly Downloads

    67

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    11.4 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar