{"name":"@algolia/client-insights","version":"5.46.4","author":{"name":"Algolia"},"license":"MIT","_id":"@algolia/client-insights@5.46.4","maintainers":[{"name":"haroenv","email":"hello@haroen.me"},{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},{"name":"fluf","email":"thomas.raffray@icloud.com"}],"homepage":"https://github.com/algolia/algoliasearch-client-javascript/tree/main/packages/client-insights#readme","bugs":{"url":"https://github.com/algolia/algoliasearch-client-javascript/issues"},"dist":{"shasum":"35d20e856f94197e7d421a99865096d90d4bbcdf","tarball":"http://registry-npm.ywwl.com/@algolia/client-insights/download/@algolia/client-insights-5.46.4.tgz","fileCount":27,"integrity":"sha512-4nccpwc9SaMxZB5UsRyjLnHgrZ0KeE92Z0jx0X7xFhLzZ2Va6dSkvgKA4BfREE7mil/cqS2SgaEn8T1mSgJKFA==","signatures":[{"sig":"MEUCIQDtKqQtkMRLd9cbM7gOK3EkL+G8zcOLp/8PwwAH007hWQIgDf4NeXzXXQh6OaRnSQyuakI2jPQcrDyKQiwc/8AjZZc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@algolia%2fclient-insights@5.46.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":444459,"size":49745,"noattachment":false,"key":"/@algolia/client-insights/-/@algolia/client-insights-5.46.4.tgz"},"type":"module","types":"./index.d.ts","unpkg":"./dist/builds/browser.umd.js","engines":{"node":">= 14.0.0"},"exports":{".":{"node":{"types":{"import":"./dist/node.d.ts","module":"./dist/node.d.ts","require":"./dist/node.d.cts"},"import":"./dist/builds/node.js","module":"./dist/builds/node.js","require":"./dist/builds/node.cjs"},"worker":{"types":"./dist/worker.d.ts","default":"./dist/builds/worker.js"},"default":{"types":"./dist/browser.d.ts","import":"./dist/builds/browser.js","module":"./dist/builds/browser.js","default":"./dist/builds/browser.umd.js"}},"./dist/builds/*":"./dist/builds/*.js"},"gitHead":"4b049770d6e6c0d6336c323e53b29e6d5b3c216f","scripts":{"build":"yarn clean && yarn tsup && yarn rollup -c rollup.config.js","clean":"rm -rf ./dist || true","test:bundle":"publint . && attw --pack ."},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5ce1872d-d0af-4feb-bfe2-9fc9b7df7570"}},"jsdelivr":"./dist/builds/browser.umd.js","repository":{"url":"git+https://github.com/algolia/algoliasearch-client-javascript.git","type":"git"},"_npmVersion":"lerna/9.0.3/node@v24.13.0+x64 (linux)","description":"JavaScript client for client-insights","directories":{},"_nodeVersion":"24.13.0","dependencies":{"@algolia/client-common":"5.46.4","@algolia/requester-fetch":"5.46.4","@algolia/requester-node-http":"5.46.4","@algolia/requester-browser-xhr":"5.46.4"},"react-native":"./dist/builds/browser.js","_hasShrinkwrap":false,"devDependencies":{"tsup":"8.5.1","rollup":"4.55.1","publint":"0.3.16","typescript":"5.9.3","@types/node":"25.0.9","@arethetypeswrong/cli":"0.18.2"},"_npmOperationalInternal":{"tmp":"tmp/client-insights_5.46.4_1768920997648_0.06131142685000723","host":"s3://npm-registry-packages-npm-production"},"readme":"<p align=\"center\">\n  <a href=\"https://www.algolia.com\">\n    <img alt=\"Algolia for JavaScript\" src=\"https://raw.githubusercontent.com/algolia/algoliasearch-client-common/master/banners/javascript.png\" >\n  </a>\n\n  <h4 align=\"center\">The perfect starting point to integrate <a href=\"https://algolia.com\" target=\"_blank\">Algolia</a> within your JavaScript project</h4>\n\n  <p align=\"center\">\n    <a href=\"https://npmjs.com/package/@algolia/client-insights\"><img src=\"https://img.shields.io/npm/v/@algolia/client-insights.svg?style=flat-square\" alt=\"NPM version\"></img></a>\n    <a href=\"http://npm-stat.com/charts.html?package=@algolia/client-insights\"><img src=\"https://img.shields.io/npm/dm/@algolia/client-insights.svg?style=flat-square\" alt=\"NPM downloads\"></a>\n    <a href=\"https://www.jsdelivr.com/package/npm/@algolia/client-insights\"><img src=\"https://data.jsdelivr.com/v1/package/npm/@algolia/client-insights/badge\" alt=\"jsDelivr Downloads\"></img></a>\n    <a href=\"LICENSE\"><img src=\"https://img.shields.io/badge/license-MIT-green.svg?style=flat-square\" alt=\"License\"></a>\n  </p>\n</p>\n\n<p align=\"center\">\n  <a href=\"https://www.algolia.com/doc/libraries/sdk/install#javascript\" target=\"_blank\">Documentation</a>  •\n  <a href=\"https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/\" target=\"_blank\">InstantSearch</a>  •\n  <a href=\"https://discourse.algolia.com\" target=\"_blank\">Community Forum</a>  •\n  <a href=\"http://stackoverflow.com/questions/tagged/algolia\" target=\"_blank\">Stack Overflow</a>  •\n  <a href=\"https://github.com/algolia/algoliasearch-client-javascript/issues\" target=\"_blank\">Report a bug</a>  •\n  <a href=\"https://alg.li/support\" target=\"_blank\">Support</a>\n</p>\n\n## ✨ Features\n\n- Thin & **minimal low-level HTTP client** to interact with Algolia's API\n- Works both on the **browser** and **node.js**\n- **UMD and ESM compatible**, you can use it with any module loader\n- Built with TypeScript\n\n## 💡 Getting Started\n\n> [!TIP]\n> This API client is already a dependency of [the algoliasearch client](https://www.npmjs.com/package/algoliasearch), you don't need to manually install `@algolia/client-insights` if you already have `algoliasearch` installed.\n\nTo get started, you first need to install @algolia/client-insights (or any other available API client package).\nAll of our clients comes with type definition, and are available for both browser and node environments.\n\n### With a package manager\n\n```bash\nyarn add @algolia/client-insights@5.60.0\n# or\nnpm install @algolia/client-insights@5.60.0\n# or\npnpm add @algolia/client-insights@5.60.0\n```\n\n### Without a package manager\n\nAdd the following JavaScript snippet to the <head> of your website:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@algolia/client-insights@5.60.0/dist/builds/browser.umd.js\"></script>\n```\n\n### Usage\n\nYou can now import the Algolia API client in your project and play with it.\n\n```js\nimport { insightsClient } from '@algolia/client-insights';\n\nconst client = insightsClient('YOUR_APP_ID', 'YOUR_API_KEY');\n```\n\nFor full documentation, visit the **[Algolia JavaScript API Client](https://www.algolia.com/doc/libraries/sdk/methods/insights/)**.\n\n## ❓ Troubleshooting\n\nEncountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://support.algolia.com/hc/en-us/sections/15061037630609-API-Client-FAQs) where you will find answers for the most common issues and gotchas with the client. You can also open [a GitHub issue](https://github.com/algolia/api-clients-automation/issues/new?assignees=&labels=&projects=&template=Bug_report.md)\n\n## 📄 License\n\nThe Algolia JavaScript API Client is an open-sourced software licensed under the [MIT license](LICENSE).\n","publish_time":1768920997821,"_cnpm_publish_time":1768920997821,"dist-tags":{"alpha":"5.0.0-alpha.112","beta":"5.10.0-beta.1","latest":"5.61.0"}}