{"_id":"@159ashish357/browser-rum","name":"@159ashish357/browser-rum","dist-tags":{"latest":"6.12.2"},"versions":{"6.12.2":{"name":"@159ashish357/browser-rum","version":"6.12.2","license":"Apache-2.0","main":"cjs/entries/main.js","module":"esm/entries/main.js","types":"cjs/entries/main.d.ts","scripts":{"pack":"yarn pack","build":"run-p build:cjs build:esm build:bundle","build:bundle":"rm -rf bundle && SDK_SETUP=cdn webpack --mode=production","build:cjs":"rm -rf cjs && tsc -p tsconfig.cjs.json && yarn replace-build-env cjs","build:esm":"rm -rf esm && tsc -p tsconfig.esm.json && yarn replace-build-env esm","replace-build-env":"node ../../scripts/build/replace-build-env.js"},"dependencies":{"@datadog/browser-core":"6.12.2","@datadog/browser-rum-core":"6.12.2"},"peerDependencies":{"@datadog/browser-logs":"6.12.2"},"peerDependenciesMeta":{"@datadog/browser-logs":{"optional":true}},"repository":{"type":"git","url":"git+https://github.com/DataDog/browser-sdk.git","directory":"packages/rum"},"devDependencies":{"@types/pako":"2.0.3","pako":"2.1.0"},"volta":{"extends":"../../package.json"},"publishConfig":{"access":"public"},"_id":"@159ashish357/browser-rum@6.12.2","gitHead":"e11ca8c144ffd37cc206c56373d7924d5f994853","description":"Datadog Real User Monitoring (RUM) enables you to visualize and analyze the real-time performance and user journeys of your application's individual users.","bugs":{"url":"https://github.com/DataDog/browser-sdk/issues"},"homepage":"https://github.com/DataDog/browser-sdk#readme","_nodeVersion":"20.19.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-TCkLW+6aIfzFqYJJG5ejfnaRa6/RVFNr8VUZAxUX+wwxE7hZtYcOmOgrtNJy1aLRvNVrXCLNgEfPH4phLxNUdA==","shasum":"977ae87eafdaf7e95b0b46be8e4aa40133570b5c","tarball":"https://registry.npmjs.org/@159ashish357/browser-rum/-/browser-rum-6.12.2.tgz","fileCount":469,"unpackedSize":955369,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDuPTFCmxwQZCqNTbCh58/2iogjU+F9WdBEYqOwF52OlQIhAL7r9WbdJkEu6d2efhvaGa02aPsQ7h+4mlyDFmAbirux"}]},"_npmUser":{"name":"159ashish357","email":"ashish.singh@motadata.com","actor":{"name":"159ashish357","email":"ashish.singh@motadata.com","type":"user"}},"directories":{},"maintainers":[{"name":"159ashish357","email":"ashish.singh@motadata.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/browser-rum_6.12.2_1750436376140_0.5312245561101803"},"_hasShrinkwrap":false}},"time":{"created":"2025-06-20T16:19:36.064Z","6.12.2":"2025-06-20T16:19:36.431Z","modified":"2025-06-20T16:19:36.706Z"},"maintainers":[{"name":"159ashish357","email":"ashish.singh@motadata.com"}],"description":"Datadog Real User Monitoring (RUM) enables you to visualize and analyze the real-time performance and user journeys of your application's individual users.","homepage":"https://github.com/DataDog/browser-sdk#readme","repository":{"type":"git","url":"git+https://github.com/DataDog/browser-sdk.git","directory":"packages/rum"},"bugs":{"url":"https://github.com/DataDog/browser-sdk/issues"},"license":"Apache-2.0","readme":"# RUM Browser Monitoring\n\nDatadog Real User Monitoring (RUM) enables you to visualize and analyze the real-time performance and user journeys of your application's individual users.\n\nSee the [dedicated datadog documentation][1] for more details.\n\n## Usage\n\nTo start collecting events, add [`@datadog/browser-rum`][2] to your `package.json` file, then initialize it with:\n\n```javascript\nimport { datadogRum } from '@datadog/browser-rum'\n\ndatadogRum.init({\n  applicationId: '<DATADOG_APPLICATION_ID>',\n  clientToken: '<DATADOG_CLIENT_TOKEN>',\n  site: '<DATADOG_SITE>',\n  //  service: 'my-web-application',\n  //  env: 'production',\n  //  version: '1.0.0',\n  sessionSampleRate: 100,\n  sessionReplaySampleRate: 100,\n  trackResources: true,\n  trackLongTasks: true,\n  trackUserInteractions: true,\n})\n```\n\n**Note**: The `trackUserInteractions` parameter enables the automatic collection of user clicks in your application. **Sensitive and private data** contained in your pages may be included to identify the elements interacted with.\n\n<!-- Note: all URLs should be absolute -->\n\n[1]: https://docs.datadoghq.com/real_user_monitoring/browser\n[2]: https://www.npmjs.com/package/@datadog/browser-rum\n","readmeFilename":"README.md","_rev":"1-f2785bdb78bda361bdeebbc9ed6131dd"}