
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
angular-cc-appinsights
Advanced tools
An AngularJS module for integrating Microsoft's Application Insights within a SPA
An AngularJS module for integrating Microsoft's Application Insights within a SPA
npm install angular-cc-appinsights --save
> git clone https://github.com/christianacca/angular-cc-appinsights.git
> cd angular-cc-appinsights
> npm install
> npm run build:full
The compiled angular-cc-appinsights
library will be in the dist/ folder.
<script src="path/to/app-insights/ai.0.js"></script>
Note: you will find the latest version of the SDK in the dist folder of the official github repo
var snippet = {
config: {
instrumentationKey: "YOUR_KEY_HERE"
}
};
var init = new Microsoft.ApplicationInsights.Initialization(snippet);
var appInsights = init.loadAppInsights();
cc-appinsights
javascript: <script src="path/to/angular-cc-appinsights.min.js"></script>
cc-appinsights
:angular.module('myApp', ['cc-appinsights']);
ccAppInsightsProvider
:JS
angular.module('myApp').config(configWithAppInsigths);
configWithAppInsigths.$inject = ['ccAppInsightsProvider'];
function configWithAppInsigths(appInsightsProvider) {
appInsightsProvider.configure();
}
Typescript
/// <reference path="path/to/angular-cc-appinsights.d.ts" />
angular.module('myApp').config(configWithAppInsigths);
configWithAppInsigths.$inject = ['ccAppInsightsProvider'];
function configWithAppInsigths(appInsightsProvider: cc.appinsights.AppInsightsProvider) {
appInsightsProvider.configure();
}
See api-reference.md
FAQs
An AngularJS module for integrating Microsoft's Application Insights within a SPA
The npm package angular-cc-appinsights receives a total of 2 weekly downloads. As such, angular-cc-appinsights popularity was classified as not popular.
We found that angular-cc-appinsights demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.