Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@nuxtjs/applicationinsights
Advanced tools
ApplicationInsights module for Nuxt 2
The module enables event logging through Application Insights.
@nuxtjs/applicationinsights
dependency using yarn or npm to your project@nuxtjs/applicationinsights
to modules
section of nuxt.config.js
{
modules: [
'@nuxtjs/applicationinsights',
],
appInsights: {
instrumentationKey: '' // your project's Instrumentation Key here
}
}
Versions of NuxtJS before v2.4.0 are not supported by this package.
Enter your Instrumentation Key in the NuxtJS config file. Additional config settings can be found server and client.
In a Vue component, Application Insights
is available as this.$appInsights
, so we can call functions like
this.$appInsights.trackTrace({message: 'This message will use a telemetry initializer'})
where this
is a Vue instance.
Options can be passed using either environment variables or appInsights
section in nuxt.config.js
.
Normally setting required Instrumentation Key information would be enough.
String
process.env.APPINSIGHTS_INSTRUMENTATION_KEY || false
instrumentationKey
is provided module wont workString
process.env.APPINSIGHTS_CONNECTION_STRING || false
serverConnectionString
is provided server side wont workBoolean
process.env.APPINSIGHTS_DISABLED || false
true
.Boolean
process.env.APPINSIGHTS_DISABLE_CLIENT_SIDE || false
Boolean
process.env.APPINSIGHTS_DISABLE_SERVER_SIDE || false
Boolean
process.env.APPINSIGHTS_INITIALIZE || true
Boolean
process.env.APPINSIGHTS_TRACK_PAGE_VIEW || true
Object
{ }
Object
{ }
Copyright (c) Dmitry Molotkov aldarund@gmail.com
FAQs
AppInsights module for Nuxt.js
The npm package @nuxtjs/applicationinsights receives a total of 140 weekly downloads. As such, @nuxtjs/applicationinsights popularity was classified as not popular.
We found that @nuxtjs/applicationinsights demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.