Socket
Socket
Sign inDemoInstall

@storybook/telemetry

Package Overview
Dependencies
Maintainers
27
Versions
815
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
Weekly downloads
3.9M
increased by4.29%
Maintainers
27
Weekly downloads
 
Created

Package description

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

Readme

Source

Storybook Telemetry

Storybook collects completely anonymous telemetry data about general usage. Participation in this program is optional and it’s easy to opt-out.

For more information visit: storybook.js.org/telemetry

Keywords

FAQs

Package last updated on 23 Apr 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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc