{"_id":"@microsoft/applicationinsights-web-snippet","_rev":"2914367","name":"@microsoft/applicationinsights-web-snippet","description":"Microsoft Application Insights Web Snippet","dist-tags":{"latest":"1.0.1"},"maintainers":[{"name":"microsoft1es","email":""}],"time":{"modified":"2023-02-01T08:45:17.000Z","created":"2022-05-10T22:43:11.249Z","1.0.1":"2022-05-23T21:01:50.544Z","1.0.0":"2022-05-10T22:43:11.249Z"},"users":{},"repository":{"type":"git","url":"git+https://github.com/microsoft/ApplicationInsights-JS.git#master"},"versions":{"1.0.1":{"name":"@microsoft/applicationinsights-web-snippet","version":"1.0.1","description":"Microsoft Application Insights Web Snippet","main":"dist/node/applicationinsights-web-snippet.js","module":"dist/esm/applicationinsights-web-snippet.js","types":"types/applicationinsights-web-snippet.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/microsoft/ApplicationInsights-JS.git#master"},"scripts":{"build":" npm run replace && npm run build:esm && npm run build:browser","replace":"grunt websnippetReplace","build:esm":"grunt websnippet","build:browser":"rollup -c","rebuild":"npm run build","test":"","lint":"tslint -p tsconfig.json"},"license":"MIT","devDependencies":{"@microsoft/applicationinsights-rollup-plugin-uglify3-js":"1.0.0","@microsoft/applicationinsights-rollup-es3":"1.1.3","typescript":"^4.3.4","tslib":"^2.0.0","magic-string":"^0.25.7","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^2.3.3","rollup-plugin-cleanup":"^3.2.1","rollup":"^2.32.0","grunt":"^1.5.3","grunt-cli":"^1.4.3","grunt-contrib-qunit":"^5.0.1","@nevware21/grunt-ts-plugin":"^0.4.3","@nevware21/grunt-eslint-ts":"^0.2.2"},"dependencies":{},"bugs":{"url":"https://github.com/microsoft/ApplicationInsights-JS/issues"},"homepage":"https://github.com/microsoft/ApplicationInsights-JS/tree/master#readme","_id":"@microsoft/applicationinsights-web-snippet@1.0.1","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"6bb788b2902e48bf5d460c38c6bb7fedd686ddd7","size":5521,"noattachment":false,"key":"/@microsoft/applicationinsights-web-snippet/-/@microsoft/applicationinsights-web-snippet-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@microsoft/applicationinsights-web-snippet/download/@microsoft/applicationinsights-web-snippet-1.0.1.tgz"},"_npmUser":{"name":"msftapplicationinsights","email":"appinsightssdk@microsoft.com"},"directories":{},"maintainers":[{"name":"microsoft1es","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/applicationinsights-web-snippet_1.0.1_1653339710416_0.7289022734455939"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-23T21:02:03.964Z","publish_time":1653339710544,"_cnpm_publish_time":1653339710544},"1.0.0":{"name":"@microsoft/applicationinsights-web-snippet","version":"1.0.0","description":"Microsoft Application Insights Web Snippet","main":"dist/node/applicationinsights-web-snippet.js","module":"dist/esm/applicationinsights-web-snippet.js","types":"types/applicationinsights-web-snippet.d.ts","sideEffects":false,"repository":{"type":"git","url":"git+https://github.com/microsoft/ApplicationInsights-JS.git#master"},"scripts":{"build":" npm run replace && npm run build:esm && npm run build:browser","replace":"grunt websnippetReplace","build:esm":"grunt websnippet","build:browser":"rollup -c","rebuild":"npm run build","test":"","lint":"tslint -p tsconfig.json"},"license":"MIT","devDependencies":{"@microsoft/applicationinsights-rollup-plugin-uglify3-js":"1.0.0","@microsoft/applicationinsights-rollup-es3":"1.1.3","typescript":"^4.3.4","tslib":"^2.0.0","magic-string":"^0.25.7","@rollup/plugin-commonjs":"^18.0.0","@rollup/plugin-node-resolve":"^11.2.1","@rollup/plugin-replace":"^2.3.3","rollup-plugin-cleanup":"^3.2.1","rollup":"^2.32.0","grunt":"^1.4.1","grunt-cli":"^1.4.3","grunt-contrib-qunit":"^5.0.1","@nevware21/grunt-ts-plugin":"^0.4.3","@nevware21/grunt-eslint-ts":"^0.2.2"},"dependencies":{},"bugs":{"url":"https://github.com/microsoft/ApplicationInsights-JS/issues"},"homepage":"https://github.com/microsoft/ApplicationInsights-JS/tree/master#readme","_id":"@microsoft/applicationinsights-web-snippet@1.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.5.0","dist":{"shasum":"99a133da3c599568d086f7ab4b25f40cd0fafb15","size":4700,"noattachment":false,"key":"/@microsoft/applicationinsights-web-snippet/-/@microsoft/applicationinsights-web-snippet-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@microsoft/applicationinsights-web-snippet/download/@microsoft/applicationinsights-web-snippet-1.0.0.tgz"},"_npmUser":{"name":"msftapplicationinsights","email":"appinsightssdk@microsoft.com"},"directories":{},"maintainers":[{"name":"microsoft1es","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/applicationinsights-web-snippet_1.0.0_1652222591063_0.33999700702795277"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-05-10T22:43:34.637Z","publish_time":1652222591249,"_cnpm_publish_time":1652222591249}},"readme":"# Microsoft Application Insights JavaScript SDK - Web Snippet\r\n\r\n[![Build Status](https://travis-ci.org/microsoft/ApplicationInsights-JS.svg?branch=master)](https://travis-ci.org/microsoft/ApplicationInsights-JS)\r\n[![npm version](https://badge.fury.io/js/%40microsoft%2Fapplicationinsights-web-snippet.svg)](https://badge.fury.io/js/%40microsoft%2Fapplicationinsights-web-snippet)\r\n\r\nWeb Snippet for the Application Insights Javascript SDK\r\n\r\nThis project exists to publish latest Application Insights Javascript Web Snippet.\r\n\r\n## Basic Usage\r\n\r\nAdd the Application Insights Web Snippet to your app's dependencies and package.json.\r\n```\r\nnpm i @microsoft/applicationinsights-web-snippet\r\n```\r\n\r\n\r\nImport web snippet from the package.\r\n```\r\nimport { webSnippet } from \"@microsoft/applicationinsights-web-snippet\";\r\n```\r\n\r\n\r\nReplace \"INSTRUMENTATION_KEY\" with valid Instrumentation Key.\r\n```\r\nwebSnippet.replace(\"INSTRUMENTATION_KEY\", your_valid_ikey);\r\n```\r\n\r\nMore details on web snippet, see [Web Snippet](https://github.com/microsoft/ApplicationInsights-JS#snippet-setup-ignore-if-using-npm-setup).\r\n\r\n## Build\r\n```\r\nnpm install -g grunt-cli\r\nnpm install\r\nnpm run build --silent\r\n```\r\n\r\n## Contributing\r\n\r\nThis project welcomes contributions and suggestions.  Most contributions require you to agree to a\r\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\r\nthe rights to use your contribution. For details, visit https://cla.microsoft.com.\r\n\r\nWhen you submit a pull request, a CLA-bot will automatically determine whether you need to provide\r\na CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions\r\nprovided by the bot. You will only need to do this once across all repos using our CLA.\r\n\r\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\r\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\r\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\r\n\r\n## License\r\n\r\n[MIT](LICENSE)","_attachments":{},"homepage":"https://github.com/microsoft/ApplicationInsights-JS/tree/master#readme","bugs":{"url":"https://github.com/microsoft/ApplicationInsights-JS/issues"},"license":"MIT"}