Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

statful-browser-plugin

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

statful-browser-plugin

Statful Browser Plugin

  • 1.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
6
Weekly downloads
 
Created
Source

Statful Browser Plugin

Statful plugin to capture browser information and add it on your metrics.

Build Status devDependency Status

Table of Contents

Installation

npm install --save statful-browser-plugin

Quick Start

    <script type="text/javascript" src="node_modules/statful-client-javascript/dist/statful.umd.min.js"></script>
    <script type="text/javascript" src="node_modules/statful-browser-plugin/dist/statful-browser-plugin.umd.min.js"></script>

    <script>
        // Init statful
        statful.initialize({
            dryrun: false,
            debug: false,
            app: 'exampleApp',
            flushInterval: 5000
        });

        // Use Statful Browser Plugin
        statful.use(new StatfulBrowserPlugin());

        // Send a metric
        statful.counter('page_load');
    </script>

Tags

These tags are only populated if available.

TagDescription
browserbrowser name
browser_versionbrowser version
device_typedevice type (desktop, tablet or mobile)
osos name
os_versionos version

Contribute

Follow the standard Fork and Pull Request workflow and:

  • Add tests for new feats
  • Make sure the test suite passes
  • Update or add documentation accordingly

Installation

$ npm install

Tests

$ npm test

Authors

Mindera - Software Craft

License

Statful Javascript Client is available under the MIT license. See the LICENSE file for more information.

FAQs

Package last updated on 19 Jul 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc