{"name":"@docsearch/react","version":"4.5.0-beta.3","author":{"url":"https://www.algolia.com","name":"Algolia, Inc."},"license":"MIT","_id":"@docsearch/react@4.5.0-beta.3","maintainers":[{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},{"name":"nyagudayev","email":"natan.yagudayev@algolia.com"},{"name":"dylantientcheu","email":"dylan.tientcheu@algolia.com"}],"homepage":"https://docsearch.algolia.com","bugs":{"url":"https://github.com/algolia/docsearch/issues"},"dist":{"shasum":"9fbc599b5e014fb9c2aa985f91b4df8ae5b8a0c5","tarball":"http://registry-npm.ywwl.com/@docsearch/react/download/@docsearch/react-4.5.0-beta.3.tgz","fileCount":41,"integrity":"sha512-aomer7ObEj9s2qTTcakBIvg+TKbut2hrg3rHN0TeNiT13nquGe3lzXH6pQn1gHw7mToVSC6KdMpbQa9LhyL0NA==","signatures":[{"sig":"MEUCIQCJrH2BqX0wv2zHQUctTX+CbqnahAR3Kej97eJA5qJCCgIgJlIpn+STTSQ3o4TdxVXacZajMEUXogv68Ef/JRNc0hU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7380953,"size":1669709,"noattachment":false,"key":"/@docsearch/react/-/@docsearch/react-4.5.0-beta.3.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","exports":{".":"./dist/esm/index.js","./modal":"./dist/esm/DocSearchModal.js","./style":"./style/index.js","./button":"./dist/esm/DocSearchButton.js","./version":"./dist/esm/version.js","./useTheme":"./dist/esm/useTheme.js","./sidepanel":"./dist/esm/Sidepanel.js","./useDocSearchKeyboardEvents":"./dist/esm/useDocSearchKeyboardEvents.js"},"gitHead":"1674dbd55be1667c69e3fb82bb12308093b60bf3","scripts":{"build":"yarn build:clean && yarn build:types && yarn build:source && yarn build:dts && yarn build:clean-types","watch":"nodemon --watch src --ext ts,tsx,js,jsx,json --ignore dist/ --ignore node_modules/ --verbose --delay 250ms --exec \"yarn on:change\"","build:dts":"rollup --config rollup.dts.config.js --bundleConfigAsCjs","on:change":"yarn build","build:clean":"rm -rf ./dist","build:types":"tsc -p ./tsconfig.declaration.json --outDir ./dist/esm/types","build:source":"rollup --config --bundleConfigAsCjs","build:clean-types":"rm -rf ./dist/esm/types"},"_npmUser":{"name":"dylantientcheu","email":"dylan.tientcheu@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.9.2","description":"React package for DocSearch, the best search experience for docs.","directories":{},"sideEffects":false,"_nodeVersion":"22.15.0","dependencies":{"@docsearch/css":"4.5.0-beta.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"ai":"^5.0.30","zod":"^4.1.8","marked":"^16.3.0","vitest":"3.0.2","nodemon":"^3.1.0","@ai-sdk/react":"^2.0.30","algoliasearch":"^5.28.0","@docsearch/core":"4.5.0-beta.3","rollup-plugin-dts":"^6.2.1","@rollup/plugin-replace":"6.0.2","@testing-library/react":"16.2.0","@testing-library/jest-dom":"6.6.3","@algolia/autocomplete-core":"1.19.2"},"peerDependencies":{"react":">= 16.8.0 < 20.0.0","react-dom":">= 16.8.0 < 20.0.0","@types/react":">= 16.8.0 < 20.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_4.5.0-beta.3_1768581573558_0.09248238872676584","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":1768581573768,"_cnpm_publish_time":1768581573768,"dist-tags":{"alpha":"3.0.0-alpha.50","beta":"5.0.0-beta.4","latest":"5.2.0","latest-v4":"4.7.1"}}