Socket
Socket
Sign inDemoInstall

@storybook/telemetry

Package Overview
Dependencies
Maintainers
11
Versions
874
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/telemetry

Telemetry logging for crash reports and usage statistics


Version published
Maintainers
11
Created

What is @storybook/telemetry?

@storybook/telemetry is a package used to collect anonymous usage data from Storybook instances. This data helps the Storybook team understand how the tool is being used and improve it accordingly.

What are @storybook/telemetry's main functionalities?

Telemetry Initialization

Initializes the telemetry system for a Storybook project, allowing it to start collecting usage data.

const telemetry = require('@storybook/telemetry');
telemetry.init({
  project: 'my-storybook-project',
  version: '1.0.0'
});

Sending Custom Events

Sends a custom event to the telemetry system, which can be used to track specific actions or occurrences within the Storybook instance.

telemetry.sendEvent({
  eventType: 'custom-event',
  payload: {
    key: 'value'
  }
});

Disabling Telemetry

Disables the telemetry system, stopping any further data collection from the Storybook instance.

telemetry.disable();

Other packages similar to @storybook/telemetry

Keywords

FAQs

Package last updated on 04 Oct 2024

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