Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@nuxt/telemetry
Advanced tools
Package description
@nuxt/telemetry is a Nuxt.js module that collects anonymous usage data to help improve the framework. It gathers information about your Nuxt.js project, such as the version, features used, and build times, and sends it to the Nuxt.js team. This data helps the team understand how Nuxt.js is being used and identify areas for improvement.
Enable/Disable Telemetry
You can enable or disable telemetry data collection by setting the `telemetry` property in your `nuxt.config.js` file. Setting it to `false` will disable telemetry.
export default {
telemetry: false
}
Prompt for Telemetry Consent
You can prompt for telemetry consent in the terminal by running the `npx nuxt telemetry prompt` command. This will ask the user if they want to enable or disable telemetry data collection.
npx nuxt telemetry prompt
Check Telemetry Status
You can check the current status of telemetry data collection by running the `npx nuxt telemetry status` command. This will display whether telemetry is enabled or disabled.
npx nuxt telemetry status
Disable Telemetry via CLI
You can disable telemetry data collection via the command line by running the `npx nuxt telemetry disable` command.
npx nuxt telemetry disable
Enable Telemetry via CLI
You can enable telemetry data collection via the command line by running the `npx nuxt telemetry enable` command.
npx nuxt telemetry enable
The `next-telemetry` package is used for collecting anonymous usage data for Next.js projects. Similar to @nuxt/telemetry, it helps the Next.js team understand how the framework is being used and identify areas for improvement. Both packages serve the same purpose but are specific to their respective frameworks.
The `gatsby-telemetry` package collects anonymous usage data for Gatsby projects. It helps the Gatsby team improve the framework by understanding how it is being used. Like @nuxt/telemetry, it focuses on gathering data to enhance the developer experience and framework performance.
Readme
Nuxt collects anonymous telemetry data about general usage. This helps us to accurately gauge Nuxt feature usage and customization across all our users.
This program is optional. You will be asked on first time to get permission and you can always opt-out if you'd not like to share any information.
Nuxt has grown a lot from its initial release (7 Nov 2016) and we are keep listening to community feedback to improve it.
However, this manual process only collects feedback from a subset of users that takes the time to fill the issue template and it may have different needs or use-case than you.
Nuxt Telemetry collects anonymous telemetry data about general usage. This helps us to accurately gauge feature usage and customization across all our users. This data will let us better understand how Nuxt is used globally, measuring improvements made (DX and performances) and their relevance.
We collect multiple events:
nuxt dev
, nuxt build
, etc)nuxt generate
or nuxt export
)You can see the list of events in lib/events.
Example of an event:
{
"name": "NUXT_PROJECT",
"payload": {
"type": "GIT",
"isSSR": true,
"target": "server",
"isTypescriptBuild": false,
"isTypescriptRuntime": false,
"isProgrammatic": false,
"packageManager": "npm"
}
}
To display the exact data that will be sent, you can use NUXT_TELEMETRY_DEBUG=1
.
We take your privacy and our security very seriously.
We do not collect any metrics which may contain sensitive data.
This includes, but is not limited to: environment variables, file paths, contents of files, logs, or serialized JavaScript errors.
The data we collect is completely anonymous, not traceable to the source (using hash+seed), and only meaningful in aggregate form. No data we collect is personally identifiable or trackable.
You can disable Nuxt Telemetry for your project with several ways:
telemetry: false
in your nuxt.config
:export default {
telemetry: false
}
NUXT_TELEMETRY_DISABLED=1
npx nuxt telemetry disable
npx nuxt telemetry [status|enable|disable] [-g,--global] [dir]
If you encounter problems with consent prompt, and want to participate without asking this question, you can set telemetry: true
from nuxt.config
:
export default {
telemetry: true
}
We want to thank you for participating in this telemetry program to help us better understand how you use Nuxt to keep improving it 💚
yarn dev:prepare
to generate type stubs.yarn dev
to start playground in development mode.FAQs
Nuxt collects anonymous telemetry data about general usage. This helps us to accurately gauge Nuxt feature usage and customization across all our users.
The npm package @nuxt/telemetry receives a total of 487,471 weekly downloads. As such, @nuxt/telemetry popularity was classified as popular.
We found that @nuxt/telemetry demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.