{"name":"@docsearch/react","version":"3.8.2","author":{"url":"https://www.algolia.com","name":"Algolia, Inc."},"license":"MIT","_id":"@docsearch/react@3.8.2","maintainers":[{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},{"name":"francoischalifour","email":"francois.chalifour@gmail.com"},{"name":"shipow","email":"shipowlata@gmail.com"},{"name":"millotp","email":"millotpierre3@gmail.com"}],"homepage":"https://docsearch.algolia.com","bugs":{"url":"https://github.com/algolia/docsearch/issues"},"dist":{"shasum":"7b11d39b61c976c0aa9fbde66e6b73b30f3acd42","tarball":"http://registry-npm.ywwl.com/@docsearch/react/download/@docsearch/react-3.8.2.tgz","fileCount":12,"integrity":"sha512-xCRrJQlTt8N9GU0DG4ptwHRkfnSnD/YpdeaXe02iKfqs97TkZJv60yE+1eq/tjPcVnTW8dP5qLP7itifFVV5eg==","signatures":[{"sig":"MEUCIQDCVz59C/jGgberTPdu9jzYogSkbVgIa5z91DYjA7Qf1wIgWwc3qwMfEEeC887hD1PKm8oG9NAl6Vf0a2g0cwZtgok=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":556661,"size":131321,"noattachment":false,"key":"/@docsearch/react/-/@docsearch/react-3.8.2.tgz"},"main":"dist/umd/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/umd/index.js","module":"dist/esm/index.js","source":"src/index.ts","gitHead":"a425f6f4e5714e9454ea172dc5ada5e4a0da27af","scripts":{"build":"yarn build:clean && yarn build:types && rollup --config --bundleConfigAsCjs && yarn build:clean-types","watch":"watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"","on:change":"yarn build","build:clean":"rm -rf ./dist","build:types":"tsc -p ./tsconfig.declaration.json --outDir ./dist/esm/types","build:clean-types":"rm -rf ./dist/esm/types"},"_npmUser":{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},"jsdelivr":"dist/umd/index.js","umd:main":"dist/umd/index.js","repository":{"url":"git+https://github.com/algolia/docsearch.git","type":"git","directory":"packages/docsearch-react"},"_npmVersion":"10.7.0","description":"React package for DocSearch, the best search experience for docs.","directories":{},"sideEffects":false,"_nodeVersion":"18.20.3","dependencies":{"algoliasearch":"^5.14.2","@docsearch/css":"3.8.2","@algolia/autocomplete-core":"1.17.7","@algolia/autocomplete-preset-algolia":"1.17.7"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"2.1.5","@rollup/plugin-replace":"6.0.1","@testing-library/react":"16.0.1","@testing-library/jest-dom":"6.6.3"},"peerDependencies":{"react":">= 16.8.0 < 19.0.0","react-dom":">= 16.8.0 < 19.0.0","@types/react":">= 16.8.0 < 19.0.0","search-insights":">= 1 < 3"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true},"@types/react":{"optional":true},"search-insights":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/react_3.8.2_1734449676007_0.8768619618219631","host":"s3://npm-registry-packages-npm-production"},"readme":"# @docsearch/react\n\nReact package for [DocSearch](http://docsearch.algolia.com/), the best search experience for docs.\n\n## Installation\n\n```bash\nnpm install @docsearch/react@5\n```\n\nIf you don’t want to use a package manager, you can use a standalone endpoint:\n\n```html\n<script src=\"https://cdn.jsdelivr.net/npm/@docsearch/react@5\"></script>\n```\n\n## Get started\n\nDocSearch generates a fully accessible search box for you.\n\n```jsx App.js\nimport { DocSearch } from '@docsearch/react';\n\nimport '@docsearch/css';\n\nfunction App() {\n  return (\n    <DocSearch\n      appId=\"YOUR_APP_ID\"\n      indices={['YOUR_INDEX_NAME']}\n      apiKey=\"YOUR_SEARCH_API_KEY\"\n    />\n  );\n}\n\nexport default App;\n```\n\n## Documentation\n\n[Lazy-load the Sidepanel](https://docsearch.algolia.com/docs/packages/react/examples#lazy-load-the-sidepanel) with a static `SidepanelButton` import from `@docsearch/react/sidepanelButton` and a dynamic panel import from `@docsearch/react/sidepanelPanel`.\n\n[Read documentation →](https://docsearch.algolia.com/docs/packages/react/getting-started)\n","publish_time":1734449676229,"_cnpm_publish_time":1734449676229,"dist-tags":{"alpha":"3.0.0-alpha.50","beta":"5.0.0-beta.4","latest":"5.2.0","latest-v4":"4.7.1"}}