New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@mskcc/analytics-plugin-splunk

Package Overview
Dependencies
Maintainers
5
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mskcc/analytics-plugin-splunk

<!-- title: MSKCC Splunk Analytics Plugin description: Using the Splunk Analytics -->

latest
npmnpm
Version
0.3.0
Version published
Maintainers
5
Created
Source

MSKCC Splunk plugin for analytics

Integration with MSKCC Splunk for analytics

For more information see the docs.

Installation

Install analytics and @mskcc/analytics-plugin-splunk packages

npm install analytics
npm install @mskcc/analytics-plugin-splunk
pnpm install analytics
pnpm install @mskcc/analytics-plugin-splunk

How to use

The @mskcc/analytics-plugin-splunk package works in the browser. To use, install the package, include in your project and initialize the plugin with analytics.

Below is an example of how to use the browser plugin. Export

// analytics.js
import MSKClickTracking from '@mskcc/analytics-plugin-splunk';
import Analytics from 'analytics';

export default Analytics({
  app: 'app-name',
  plugins: [
    MSKClickTracking({
      siteURL: process.env.SPLUNK_URL,
      apiKey: process.env.SPLUNK_API,
    }),
  ],
});
// app.js
import analytics from './analytics';
/* Track events */
analytics.track('Here is a test with NPM Analytic Module', {
  testProperty: true,
});

FAQs

Package last updated on 22 Apr 2022

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