Socket
Socket
Sign inDemoInstall

@storybook/telemetry

Package Overview
Dependencies
8
Maintainers
26
Versions
728
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@storybook/telemetry


Version published
Weekly downloads
4.5M
decreased by-8.81%
Maintainers
26
Install size
32.1 MB
Created
Weekly downloads
 

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

Changelog

Source

7.6.10

  • CLI: Fix existing version detection in upgrade - #25642, thanks @JReinhold!
  • React: Fix acorn ecma version warning - #25634, thanks @dannyhw!

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

Last updated on 18 Jan 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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc