{"name":"@algolia/client-analytics","version":"5.0.0-beta.11","author":{"name":"Algolia"},"license":"MIT","_id":"@algolia/client-analytics@5.0.0-beta.11","homepage":"https://github.com/algolia/algoliasearch-client-javascript#readme","bugs":{"url":"https://github.com/algolia/algoliasearch-client-javascript/issues"},"dist":{"shasum":"a5ad0dcc01eed7bb9afadc578daf08f54c295207","tarball":"http://registry-npm.ywwl.com/@algolia/client-analytics/download/@algolia/client-analytics-5.0.0-beta.11.tgz","fileCount":185,"integrity":"sha512-Q6fm3vl07W+C/ZZ7bgj3x8OyIKWdYgxDTdHC64OjiQsPcH5/8ar4GxQDANsSlgVofJz+GBVxp0n3aGEBKx+QTw==","signatures":[{"sig":"MEYCIQC2Tc0gEjFX1IL+6pCuXp8hpRNWmvGhq7vGitu/7qrkjQIhANMQb2wfltgfZsI5u5N8ou6n0QcmK/rmfuHweyzpAU6s","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":385919,"size":43923,"noattachment":false,"key":"/@algolia/client-analytics/-/@algolia/client-analytics-5.0.0-beta.11.tgz"},"type":"module","types":"./index.d.ts","unpkg":"./dist/client-analytics.umd.js","browser":"./dist/client-analytics.umd.js","engines":{"node":">= 14.0.0"},"exports":{".":{"node":{"import":"./dist/client-analytics.esm.node.js","module":"./dist/client-analytics.esm.node.js","default":"./dist/client-analytics.cjs","require":"./dist/client-analytics.cjs"},"default":{"umd":"./dist/client-analytics.umd.js","import":"./dist/client-analytics.esm.browser.js","module":"./dist/client-analytics.esm.browser.js","default":"./dist/client-analytics.umd.js"}},"./model":"./model/index.ts","./src/*":"./src/*.ts"},"gitHead":"2a41a9ac49b4ed19027882df8f4e4d6e441a18c5","scripts":{"build":"yarn clean && rollup --config","clean":"rm -rf ./dist || true"},"_npmUser":{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},"jsdelivr":"./dist/client-analytics.umd.js","repository":{"url":"git+https://github.com/algolia/algoliasearch-client-javascript.git","type":"git"},"_npmVersion":"10.7.0","description":"JavaScript client for client-analytics","directories":{},"_nodeVersion":"20.15.1","dependencies":{"@algolia/client-common":"5.0.0-beta.12","@algolia/requester-node-http":"5.0.0-beta.12","@algolia/requester-browser-xhr":"5.0.0-beta.12"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"4.18.1","typescript":"5.5.3","@types/node":"20.14.10"},"_npmOperationalInternal":{"tmp":"tmp/client-analytics_5.0.0-beta.11_1721382349676_0.13763831793976178","host":"s3://npm-registry-packages"},"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.org/package/@algolia/client-analytics\"><img src=\"https://img.shields.io/npm/v/@algolia/client-analytics.svg?style=flat-square\" alt=\"NPM version\"></img></a>\n    <a href=\"http://npm-stat.com/charts.html?package=@algolia/client-analytics\"><img src=\"https://img.shields.io/npm/dm/@algolia/client-analytics.svg?style=flat-square\" alt=\"NPM downloads\"></a>\n    <a href=\"https://www.jsdelivr.com/package/npm/@algolia/client-analytics\"><img src=\"https://data.jsdelivr.com/v1/package/npm/@algolia/client-analytics/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/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://www.algolia.com/doc/libraries/javascript/v5/\" target=\"_blank\">FAQ</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\nTo get started, you first need to install @algolia/client-analytics (or any other available API client package).\n\nAll of our clients comes with type definition, and are available for both browser and node environments.\n\n```bash\nyarn add @algolia/client-analytics\n# or\nnpm install @algolia/client-analytics\n```\n\nWithout 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/algoliasearch/dist/client-analytics.umd.min.js\"></script>\n```\n\nYou can now import the Algolia API client in your project and play with it.\n\n```js\nimport { analyticsClient } from '@algolia/client-analytics';\n\nconst client = analyticsClient('YOUR_APP_ID', 'YOUR_API_KEY');\n```\n\nFor full documentation, visit the **[Algolia JavaScript API Client](https://www.algolia.com/doc/libraries/javascript/)**.\n\n## ❓ Troubleshooting\n\nEncountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://www.algolia.com/doc/libraries/javascript/v5/) 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).","publish_time":1721382349884,"maintainers":[{"name":"millotp","email":"millotpierre3@gmail.com"},{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},{"name":"haroenv","email":"hello@haroen.me"}],"_cnpm_publish_time":1721382349884,"dist-tags":{"alpha":"5.0.0-alpha.112","beta":"5.10.0-beta.1","latest":"5.63.0","v4":"4.27.0"}}