{"name":"@docsearch/react","description":"React package for DocSearch, the best search experience for docs.","version":"3.7.0","license":"MIT","homepage":"https://docsearch.algolia.com","repository":{"type":"git","url":"git+https://github.com/algolia/docsearch.git"},"author":{"name":"Algolia, Inc.","url":"https://www.algolia.com"},"sideEffects":false,"source":"src/index.ts","types":"dist/esm/index.d.ts","module":"dist/esm/index.js","main":"dist/umd/index.js","umd:main":"dist/umd/index.js","unpkg":"dist/umd/index.js","jsdelivr":"dist/umd/index.js","scripts":{"build:clean":"rm -rf ./dist","build:clean-types":"rm -rf ./dist/esm/types","build:types":"tsc -p ./tsconfig.declaration.json --outDir ./dist/esm/types","build":"yarn build:clean && yarn build:types && rollup --config --bundleConfigAsCjs && yarn build:clean-types","on:change":"yarn build","watch":"watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\""},"dependencies":{"@algolia/autocomplete-core":"1.17.6","@algolia/autocomplete-preset-algolia":"1.17.6","@docsearch/css":"3.7.0","algoliasearch":"^5.12.0"},"devDependencies":{"@rollup/plugin-replace":"6.0.1","@testing-library/jest-dom":"6.6.3","@testing-library/react":"16.0.1","vitest":"2.1.4"},"peerDependencies":{"@types/react":">= 16.8.0 < 19.0.0","react":">= 16.8.0 < 19.0.0","react-dom":">= 16.8.0 < 19.0.0","search-insights":">= 1 < 3"},"peerDependenciesMeta":{"@types/react":{"optional":true},"react":{"optional":true},"react-dom":{"optional":true},"search-insights":{"optional":true}},"_id":"@docsearch/react@3.7.0","gitHead":"675f3eee163102dadbbb8998b5df7e9f8fc76849","bugs":{"url":"https://github.com/algolia/docsearch/issues"},"_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-8e6tdDfkYoxafEEPuX5eE1h9cTkLvhe4KgoFkO5JCddXSQONnN1FHcDZRI4r8894eMpbYq6rdJF0dVYh8ikwNQ==","shasum":"db3501013c5949d5547c2c0f254ddbbcdfcbc636","tarball":"http://registry-npm.ywwl.com/@docsearch/react/download/@docsearch/react-3.7.0.tgz","fileCount":12,"unpackedSize":555370,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCO6CD86MpWn4mITU6nq/cmGUwRe+byndI/q6iOvXfJZQIhAP02/praId3XmHLNsnBt985VDCxy7CaewdhRYTQtU5Ky"}],"size":130803,"noattachment":false,"key":"/@docsearch/react/-/@docsearch/react-3.7.0.tgz"},"_npmUser":{"name":"millotp","email":"millotpierre3@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react_3.7.0_1730811246760_0.40224245899942024"},"_hasShrinkwrap":false,"readme":"# @docsearch/react\n\nReact package for [DocSearch](http://docsearch.algolia.com/), the best search experience for docs.\n\n## Installation\n\n```bash\nyarn add @docsearch/react@3\n# or\nnpm install @docsearch/react@3\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@3\"></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      indexName=\"YOUR_INDEX_NAME\"\n      apiKey=\"YOUR_SEARCH_API_KEY\"\n    />\n  );\n}\n\nexport default App;\n```\n\n## Documentation\n\n[Read documentation →](https://docsearch.algolia.com/docs/docsearch-v3)\n","publish_time":1730811246935,"maintainers":[{"name":"millotp","email":"millotpierre3@gmail.com"},{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},{"name":"francoischalifour","email":"francois.chalifour@gmail.com"},{"name":"shipow","email":"shipowlata@gmail.com"}],"_cnpm_publish_time":1730811246935,"dist-tags":{"alpha":"3.0.0-alpha.50","beta":"5.0.0-beta.4","latest":"5.2.0","latest-v4":"4.7.1"}}