Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
@storybook/telemetry
Advanced tools
@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.
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();
Analytics-node is a package for sending data to Segment, a customer data platform. It allows you to track events and user actions, similar to @storybook/telemetry, but is more general-purpose and not specific to Storybook.
Amplitude-js is a JavaScript SDK for Amplitude, a product analytics service. It provides similar functionality to @storybook/telemetry in terms of tracking user interactions and events, but is designed for broader application analytics.
Mixpanel is an analytics platform that helps you understand how users interact with your application. The Mixpanel JavaScript library allows you to track events and user actions, similar to @storybook/telemetry, but is more focused on product analytics.
FAQs
Telemetry logging for crash reports and usage statistics
The npm package @storybook/telemetry receives a total of 2,753,172 weekly downloads. As such, @storybook/telemetry popularity was classified as popular.
We found that @storybook/telemetry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 11 open source maintainers collaborating on the project.
Did you know?
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.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.