{"id":14964300,"url":"https://github.com/huang-julien/nuxt-applicationinsights","last_synced_at":"2025-11-03T18:49:53.146Z","repository":{"id":197875788,"uuid":"698676421","full_name":"huang-julien/nuxt-applicationinsights","owner":"huang-julien","description":"ApplicationInsights module for Nuxt 3.","archived":false,"fork":false,"pushed_at":"2024-10-29T18:11:01.000Z","size":3303,"stargazers_count":16,"open_issues_count":9,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-29T20:16:37.742Z","etag":null,"topics":["application-insights","applicationinsights","nuxt","nuxt-module"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huang-julien.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-30T16:14:33.000Z","updated_at":"2024-10-14T20:57:28.000Z","dependencies_parsed_at":"2023-12-26T22:31:19.631Z","dependency_job_id":"48a62020-6cc8-4c81-a433-dce9bae87565","html_url":"https://github.com/huang-julien/nuxt-applicationinsights","commit_stats":{"total_commits":125,"total_committers":5,"mean_commits":25.0,"dds":"0.40800000000000003","last_synced_commit":"a1506d88c46e66a3eb72b9a2322665c2887cddc5"},"previous_names":["huang-julien/nuxt-applicationinsights"],"tags_count":18,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-julien%2Fnuxt-applicationinsights","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-julien%2Fnuxt-applicationinsights/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-julien%2Fnuxt-applicationinsights/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huang-julien%2Fnuxt-applicationinsights/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huang-julien","download_url":"https://codeload.github.com/huang-julien/nuxt-applicationinsights/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238085245,"owners_count":19413992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["application-insights","applicationinsights","nuxt","nuxt-module"],"created_at":"2024-09-24T13:32:57.192Z","updated_at":"2025-10-25T04:31:17.106Z","avatar_url":"https://github.com/huang-julien.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nuxt-applicationinsights\n\n[Microsoft Application Insight](https://learn.microsoft.com/fr-fr/azure/azure-monitor/app/app-insights-overview?tabs=net) integration for Nuxt 3.\n\n\u003c!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/my-module?file=playground%2Fapp.vue) --\u003e\n\u003c!-- - [📖 \u0026nbsp;Documentation](https://example.com) --\u003e\n\n## Features\n\n\u003c!-- Highlight some of the features your module provide here --\u003e\n- [nitro-applicationinsights](https://github.com/huang-julien/nitro-applicationinsights) integration\n- [@microsoft/applicationinsights-web](https://www.npmjs.com/package/@microsoft/applicationinsights-web) integration\n\n## Quick Setup\n\n1. Add `nuxt-applicationinsights` dependency to your project\n\n```bash\n# Using pnpm\npnpm add -D nuxt-applicationinsights\n\n# Using yarn\nyarn add --dev nuxt-applicationinsights\n\n# Using npm\nnpm install --save-dev nuxt-applicationinsights\n```\n\n2. Add `nuxt-applicationinsights` to the `modules` section of `nuxt.config.ts`\n\n```js\nexport default defineNuxtConfig({\n  modules: [\n    'nuxt-applicationinsights'\n  ]\n})\n```\n\nThat's it! You can now use `nuxt-applicationinsights` in your Nuxt app ✨\n\n## Usage\n\n`nitro-applicationinsights` will track each request and errors while `@microsoft/applicationinsights-web` will track client-side events. \n\n## nuxt app context\n\nApplication insights client is available at `useNuxtApp().$appInsights`.\nIt is accessible in server and client environment. However types are not the same since it is a `TelemetryClient` from `applicationinsights` server side and an `ApplicationInsights` from `@microsoft/applicationinsights-web` client-side.\n\n## Development\n\n```bash\n# Install dependencies\nnpm install\n\n# Generate type stubs\nnpm run dev:prepare\n\n# Develop with the playground\nnpm run dev\n\n# Build the playground\nnpm run dev:build\n\n# Run ESLint\nnpm run lint\n\n# Run Vitest\nnpm run test\nnpm run test:watch\n\n# Release new version\nnpm run release\n```\n\n\u003c!-- Badges --\u003e\n[npm-version-src]: https://img.shields.io/npm/v/my-module/latest.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-version-href]: https://npmjs.com/package/my-module\n\n[npm-downloads-src]: https://img.shields.io/npm/dm/my-module.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[npm-downloads-href]: https://npmjs.com/package/my-module\n\n[license-src]: https://img.shields.io/npm/l/my-module.svg?style=flat\u0026colorA=18181B\u0026colorB=28CF8D\n[license-href]: https://npmjs.com/package/my-module\n\n[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js\n[nuxt-href]: https://nuxt.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuang-julien%2Fnuxt-applicationinsights","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuang-julien%2Fnuxt-applicationinsights","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuang-julien%2Fnuxt-applicationinsights/lists"}