{"_id":"@aliyun-sls/docsearch-js","_rev":"11-c3a95dfcf64b181a7467a152a874c48b","name":"@aliyun-sls/docsearch-js","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@aliyun-sls/docsearch-js","version":"1.0.0","author":{"url":"https://www.algolia.com","name":"Algolia, Inc."},"license":"MIT","_id":"@aliyun-sls/docsearch-js@1.0.0","maintainers":[{"name":"hongqi.lgs","email":"550175214@qq.com"},{"name":"sanjdw","email":"290506494@qq.com"},{"name":"yuecjnadt","email":"yuecjn@gmail.com"},{"name":"perezyuan","email":"yzmspirit@gmail.com"}],"homepage":"https://docsearch.algolia.com","bugs":{"url":"https://github.com/algolia/docsearch/issues"},"dist":{"shasum":"e764e0f03dc6ab792e8e89b21f34963838298f7d","tarball":"https://registry.npmjs.org/@aliyun-sls/docsearch-js/-/docsearch-js-1.0.0.tgz","fileCount":6,"integrity":"sha512-dg3yTWr9HRR/HYKHYKrSxFSHbrXu9DJ8SqrXY/6i1C3Z7x+G3WUp2c8QQKZtXGst9TQGtZ0lzFQAaccq9Zk7Gw==","signatures":[{"sig":"MEYCIQDAa5W5EcVFhyfRZts2JY/6L1BIy00YCRNCOjy7N+N8AAIhAPkPdP3kWdhhkdZS2/y2GtQBM9AE/PR0qndXNDSQPoqS","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":442227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhGq4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpt+Q/6A0uKheKNGv/VJk3KMc7ijtdkcz+X4An4FlIfm+DsHCUuK1ID\r\nGraeY+QJNDkIkBZ3Uv4wpzsoTkelgRpv6KhM4QapEDlEVaUlP4QUoSbHKH4r\r\nuGTAnSxXVE2i8szbnLKszZw53AuS8Htbz8qCQVeRX9fv0fXdtYc/ZYT5wHQu\r\na5DF6v0ZizEMUK7NESfu9jvBhq8XtcyJxGobVfBUmER61dey1jMfzs1jwwlM\r\nIuIa9EYJRjbUKTVnkzNoaTgNPiWqpJX0u5Uc+xZ5M+K7E/OMDRDvoWAjcBgx\r\n0Ra+LKeJX7xKfOTYpjx2wNKDD54ghocvTDCFz7Qj+SlEoHJ8HticxZjGOeZQ\r\n4Jk5SiJ3Wu/ahqCmUwYbtxYxaC8kkUmiweTi4j70v59rjEZZOzGdj1YLBlZ/\r\nNAVb3KH5zEvpNx5GxfDtL2CdIdZ3JU7MNefpTPcZcjkVhHUUA6u47l9GaFbc\r\nMZUEFRo93MWRT65Tyjjmor2mhRcCcb/UHkAIT2wKfEOonPK9BOn1jfW83JoB\r\nBct3BnwCx/l7QDENuYqAkEws1EUz3+MByppfR7XNPO6d7yX5IZdMMzx/b8SA\r\n21EzK9eg/An37SQeHB6CBn7crllTRSJBhmZ/JV42IYLeg9H7nXoLDNpB8fWt\r\ncmQHh7+KGJDSfNpVCz2bTfj1uRPBfdwPuDQ=\r\n=nR2x\r\n-----END PGP SIGNATURE-----\r\n"},"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":"bbaa262cb9111b762dfa979a950607f0eeee9fc7","scripts":{"build":"yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types","watch":"watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"","build:esm":"cross-env BUILD=esm rollup --config","build:umd":"cross-env 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":"yuecjnadt","email":"yuecjn@gmail.com"},"jsdelivr":"dist/umd/index.js","umd:main":"dist/umd/index.js","repository":{"url":"git+https://github.com/algolia/docsearch.git","type":"git"},"_npmVersion":"8.15.0","description":"JavaScript package for DocSearch, the best search experience for docs.","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","dependencies":{"preact":"^10.0.0","@aliyun-sls/docsearch-react":"1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/docsearch-js_1.0.0_1669622456275_0.029395189521321363","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@aliyun-sls/docsearch-js","version":"1.0.1","author":{"url":"https://www.algolia.com","name":"Algolia, Inc."},"license":"MIT","_id":"@aliyun-sls/docsearch-js@1.0.1","maintainers":[{"name":"hongqi.lgs","email":"550175214@qq.com"},{"name":"sanjdw","email":"290506494@qq.com"},{"name":"yuecjnadt","email":"yuecjn@gmail.com"},{"name":"perezyuan","email":"yzmspirit@gmail.com"}],"homepage":"https://docsearch.algolia.com","bugs":{"url":"https://github.com/algolia/docsearch/issues"},"dist":{"shasum":"6375ce49a26695c375e88a96c7f6177b9675c89c","tarball":"https://registry.npmjs.org/@aliyun-sls/docsearch-js/-/docsearch-js-1.0.1.tgz","fileCount":6,"integrity":"sha512-5XHVeeskXpP+sj9h6SsDD+SAPlnX+iCf7ty34oidDSDvxLvp6K+W09iSRbUgaG50jlaH6Ej9/YvjoybiGv3o9w==","signatures":[{"sig":"MEQCIDPtkHe8N+lsVp79KRYlF/A7uBR+9K2QfnbW91lTuDAvAiBbl3CJW6Wo9T2vEY6yTzWBO5aBts+k/bwvgFjHYnd2oA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":439469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhG2+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSoxAAiySIjvGRTs/cQjPRq7j0/RccPHVcERIoFyHTsF1E9SwKRbLf\r\nnb9e/lBUqGFIASVd5/nCg67MyG0u2MFT21kIS+kkjMYnZgDfzYUJxXELK1HZ\r\nzgWqIieTT1potMztOeURUncTx6Rg4JIwNBJzRDC7moCt41xwAxA2KQ+3MrLG\r\net1YCLmbKWkLmqj74rP+iLHljzvOLBYGaEHMM7ziZ5eFUk2Wkt4eE05YvjEW\r\nys8+yYna4fgphrqfwTZdcJ/PX1x6oSio0fJ5q/S6L/1cfLqe0DdLIWpgtiVn\r\nQPQPbOPHxywtcCZi+l546GnbNdoJ146zBhu3prLgy/Cj/6LBpV4NgpnbxoaG\r\na0+y8eRsnwUkpkAdrPuWCQWYPd/BWjJXDz6IqXucLrTPycNj1OSD96GsY7JJ\r\n+kidYR4w5zsw73QImJNwaItDevxaQWpfh1nfmINMFz8OCS4X5/kSECq0gLk7\r\n+A7w4yoCA3G4BNrj8SktWyUx6dehoXb3qLpVFHHcKyA2f6j9kTvyu13k+2Ud\r\nSDpCIBzmviigh+kSKHY1HjSOs+U/IQEGekdtIE4PfYPDM9qx1Ok3XadnLFC+\r\nhzwyA84QRg5DT9EBFbYhaohj9VoEEaB986r0JAJTOzLdpGKlcCpdTWISSnLM\r\nycl5lFz+O3UCaYC1gnMJyJ+1Ci/XkFGgW8s=\r\n=QO7W\r\n-----END PGP SIGNATURE-----\r\n"},"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":"bbaa262cb9111b762dfa979a950607f0eeee9fc7","scripts":{"build":"yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types","watch":"watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"","build:esm":"cross-env BUILD=esm rollup --config","build:umd":"cross-env 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":"yuecjnadt","email":"yuecjn@gmail.com"},"jsdelivr":"dist/umd/index.js","umd:main":"dist/umd/index.js","repository":{"url":"git+https://github.com/algolia/docsearch.git","type":"git"},"_npmVersion":"8.15.0","description":"JavaScript package for DocSearch, the best search experience for docs.","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","dependencies":{"preact":"^10.0.0","@aliyun-sls/docsearch-react":"1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/docsearch-js_1.0.1_1669623230675_0.8450836293525728","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@aliyun-sls/docsearch-js","version":"1.0.2","author":{"url":"https://www.algolia.com","name":"Algolia, Inc."},"license":"MIT","_id":"@aliyun-sls/docsearch-js@1.0.2","maintainers":[{"name":"hongqi.lgs","email":"550175214@qq.com"},{"name":"sanjdw","email":"290506494@qq.com"},{"name":"yuecjnadt","email":"yuecjn@gmail.com"},{"name":"perezyuan","email":"yzmspirit@gmail.com"}],"homepage":"https://docsearch.algolia.com","bugs":{"url":"https://github.com/algolia/docsearch/issues"},"dist":{"shasum":"649add4b30a48bc9fafda53acf76032455c3e528","tarball":"https://registry.npmjs.org/@aliyun-sls/docsearch-js/-/docsearch-js-1.0.2.tgz","fileCount":6,"integrity":"sha512-+B/+r2xW6JeiRLN8wLLPdzB3PSzW40rURv+4e+73JGPPFC8f9+17RXf1/bXAyS6AitMiqMCRwp0EKm7dc2TpAg==","signatures":[{"sig":"MEUCIEAsBQJoVD6XRVsUMcm0ck+xQx18Dul80AEnTns1vtGtAiEA5D+S88uU60U0v11kgxR01WcQv53InIAe7D+a36JSYts=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":439470,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjhG4OACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpskQ//QzIUo5kbO+Xii8KHBtmDoJOS88m7p5ayHa6BvXaoCOKRrhn6\r\naeNjYR9/Ljwn/lq3g0/tmKxG7WRc8U6kZWkJc6udaABNwRMEo/pwf1OQdVct\r\nqEFXPPzMDhjRyOQeJswgAWpyE/jN8TdHUVGHliR797nXB4rL0zj4p+RYcUPO\r\nHF47YizSP8psv8IniEyPwg5ZNwwgy4bwjkWnXdAiHTbxVePYJQde4c6eQmDJ\r\nCyJh/ATj6I66NmUGyTzw3ghW8c+MSlJSjIeXD9tnFIem/SDwOO2htLh8tE5Q\r\n4qoZte55B82mOYrHWOCjqkcD2m2mHim6Dr1Z1p7jtVs1n0R+UkpStA1Co/pV\r\nPqHELBa+U/USEtq/WAGK9Z5+3NGvYX/fK/A6hgn7tQFT9GPs0xH14TJvQY3B\r\nbxkFItPq1gFmCWMcGctp5vEWijfjTI5bA9osgrjlZ6eFL+CbF53wBW++whuO\r\nrDDHNmGqlXXBS4AKju7V0Y6E3Z+CiB1OP3AQvfpmJQkQaYX1vljzX2pdyx7s\r\nej6yf23VGoyCYr7YCj7S9tx0i77GBG83CMJ+ErgfrOjkKl4Iu3ll1WFlqQc9\r\nGgddoZXDD+cq8rsSF0eu7QjEep/5/JCtk5mAOIU2ttAo59zDyOJ7LcmVJkuY\r\nTidJ8ZwfekEgnn4hE8hfaVqyASVxN0xRXWI=\r\n=nKM7\r\n-----END PGP SIGNATURE-----\r\n"},"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":"bbaa262cb9111b762dfa979a950607f0eeee9fc7","scripts":{"build":"yarn build:clean && yarn build:umd && yarn build:esm && yarn build:types","watch":"watch \"yarn on:change\" --ignoreDirectoryPattern \"/dist/\"","build:esm":"cross-env BUILD=esm rollup --config","build:umd":"cross-env 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":"yuecjnadt","email":"yuecjn@gmail.com"},"jsdelivr":"dist/umd/index.js","umd:main":"dist/umd/index.js","repository":{"url":"git+https://github.com/algolia/docsearch.git","type":"git"},"_npmVersion":"8.15.0","description":"JavaScript package for DocSearch, the best search experience for docs.","directories":{},"sideEffects":false,"_nodeVersion":"16.17.0","dependencies":{"preact":"^10.0.0","@aliyun-sls/docsearch-react":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/docsearch-js_1.0.2_1669623309817_0.04918087435821361","host":"s3://npm-registry-packages"}}},"time":{"created":"2022-11-28T08:00:56.201Z","modified":"2025-04-07T06:32:38.560Z","1.0.0":"2022-11-28T08:00:56.469Z","1.0.1":"2022-11-28T08:13:50.884Z","1.0.2":"2022-11-28T08:15:09.995Z"},"bugs":{"url":"https://github.com/algolia/docsearch/issues"},"author":{"url":"https://www.algolia.com","name":"Algolia, Inc."},"license":"MIT","homepage":"https://docsearch.algolia.com","repository":{"url":"git+https://github.com/algolia/docsearch.git","type":"git"},"description":"JavaScript package for DocSearch, the best search experience for docs.","maintainers":[{"email":"yuecjn@gmail.com","name":"yuecjnadt"},{"email":"ruiqi.hy@alibaba-inc.com","name":"ruiqi.hy"},{"email":"1581024375@qq.com","name":"nosmilen"},{"email":"qinghaotu@126.com","name":"7678tqh"}],"readme":"# @docsearch/js\n\nJavaScript package for [DocSearch](http://docsearch.algolia.com/), the best search experience for docs.\n\n## Installation\n\n```sh\nyarn add @docsearch/js@3\n# or\nnpm install @docsearch/js@3\n```\n\n## Get started\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/js@3\"></script>\n```\n\nTo get started, you need a [`container`](https://docsearch.algolia.com/docs/api#container) for your DocSearch component to go in. If you don’t have one already, you can insert one into your markup:\n\n```html\n<div id=\"docsearch\"></div>\n```\n\nThen, insert DocSearch into it by calling the [`docsearch`](https://docsearch.algolia.com/docs/api) function and providing the container. It can be a [CSS selector](https://developer.mozilla.org/en-us/docs/web/css/css_selectors) or an [Element](https://developer.mozilla.org/en-us/docs/web/api/htmlelement).\n\nMake sure to provide a [`container`](https://docsearch.algolia.com/docs/api#container) (for example, a `div`), not an `input`. DocSearch generates a fully accessible search box for you.\n\n```js app.js\nimport docsearch from '@docsearch/js';\n\nimport '@docsearch/css';\n\ndocsearch({\n  container: '#docsearch',\n  appId: 'YOUR_APP_ID',\n  indexName: 'YOUR_INDEX_NAME',\n  apiKey: 'YOUR_SEARCH_API_KEY',\n});\n```\n\n## Documentation\n\n[Read documentation →](https://docsearch.algolia.com/docs/DocSearch-v3)\n","readmeFilename":"README.md"}