{"name":"@docsearch/react","version":"3.5.2","author":{"url":"https://www.algolia.com","name":"Algolia, Inc."},"license":"MIT","_id":"@docsearch/react@3.5.2","homepage":"https://docsearch.algolia.com/","dist":{"shasum":"2e6bbee00eb67333b64906352734da6aef1232b9","tarball":"http://registry-npm.ywwl.com/@docsearch/react/download/@docsearch/react-3.5.2.tgz","fileCount":110,"integrity":"sha512-9Ahcrs5z2jq/DcAvYtvlqEBHImbm4YJI8M9y0x6Tqg598P40HTEkX7hsMcIuThI+hTFxRGZ9hll0Wygm2yEjng==","signatures":[{"sig":"MEYCIQDkwHqGwsvZjkclawCLuHoybPDZGWOi+hXfZr5B8URrngIhAPpACHocE5dj3ajXSsOxSf+EqZKvoUAqZJMDPz5MKcB1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":537623,"size":124513,"noattachment":false,"key":"/@docsearch/react/-/@docsearch/react-3.5.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","scripts":{"build":"yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types","watch":"watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"","build:esm":"babel src --root-mode upward --extensions '.ts,.tsx' --out-dir dist/esm","build:umd":"rollup --config","on:change":"concurrently \"yarn build:esm\" \"yarn build:types\"","build:clean":"rm -rf ./dist","build:types":"tsc -p ./tsconfig.declaration.json --outDir ./dist/esm"},"_npmUser":{"name":"shortcuts","email":"clement.vannicatte@algolia.com"},"jsdelivr":"dist/umd/index.js","umd:main":"dist/umd/index.js","repository":{"url":"https://github.com/algolia/docsearch.git","type":"git"},"description":"React package for DocSearch, the best search experience for docs.","directories":{},"sideEffects":false,"dependencies":{"algoliasearch":"^4.19.1","@docsearch/css":"3.5.2","@algolia/autocomplete-core":"1.9.3","@algolia/autocomplete-preset-algolia":"1.9.3"},"_hasShrinkwrap":false,"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.5.2_1692281476728_0.34697079589536095","host":"s3://npm-registry-packages"},"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":1692281477003,"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":1692281477003,"dist-tags":{"alpha":"3.0.0-alpha.50","beta":"5.0.0-beta.4","latest":"5.2.0","latest-v4":"4.7.1"}}