devstar插件
This commit is contained in:
21
node_modules/@algolia/client-search/LICENSE
generated
vendored
Normal file
21
node_modules/@algolia/client-search/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2013-Present Algolia
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
77
node_modules/@algolia/client-search/README.md
generated
vendored
Normal file
77
node_modules/@algolia/client-search/README.md
generated
vendored
Normal file
@@ -0,0 +1,77 @@
|
||||
<p align="center">
|
||||
<a href="https://www.algolia.com">
|
||||
<img alt="Algolia for JavaScript" src="https://raw.githubusercontent.com/algolia/algoliasearch-client-common/master/banners/javascript.png" >
|
||||
</a>
|
||||
|
||||
<h4 align="center">The perfect starting point to integrate <a href="https://algolia.com" target="_blank">Algolia</a> within your JavaScript project</h4>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://npmjs.org/package/@algolia/client-search"><img src="https://img.shields.io/npm/v/@algolia/client-search.svg?style=flat-square" alt="NPM version"></img></a>
|
||||
<a href="http://npm-stat.com/charts.html?package=@algolia/client-search"><img src="https://img.shields.io/npm/dm/@algolia/client-search.svg?style=flat-square" alt="NPM downloads"></a>
|
||||
<a href="https://www.jsdelivr.com/package/npm/@algolia/client-search"><img src="https://data.jsdelivr.com/v1/package/npm/@algolia/client-search/badge" alt="jsDelivr Downloads"></img></a>
|
||||
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green.svg?style=flat-square" alt="License"></a>
|
||||
</p>
|
||||
</p>
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.algolia.com/doc/libraries/javascript/" target="_blank">Documentation</a> •
|
||||
<a href="https://www.algolia.com/doc/guides/building-search-ui/what-is-instantsearch/js/" target="_blank">InstantSearch</a> •
|
||||
<a href="https://discourse.algolia.com" target="_blank">Community Forum</a> •
|
||||
<a href="http://stackoverflow.com/questions/tagged/algolia" target="_blank">Stack Overflow</a> •
|
||||
<a href="https://github.com/algolia/algoliasearch-client-javascript/issues" target="_blank">Report a bug</a> •
|
||||
<a href="https://www.algolia.com/doc/libraries/javascript/v5/" target="_blank">FAQ</a> •
|
||||
<a href="https://alg.li/support" target="_blank">Support</a>
|
||||
</p>
|
||||
|
||||
## ✨ Features
|
||||
|
||||
- Thin & **minimal low-level HTTP client** to interact with Algolia's API
|
||||
- Works both on the **browser** and **node.js**
|
||||
- **UMD and ESM compatible**, you can use it with any module loader
|
||||
- Built with TypeScript
|
||||
|
||||
## 💡 Getting Started
|
||||
|
||||
> [!TIP]
|
||||
> This API client is already a dependency of [the algoliasearch client](https://www.npmjs.com/package/algoliasearch), you don't need to manually install `@algolia/client-search` if you already have `algoliasearch` installed.
|
||||
|
||||
To get started, you first need to install @algolia/client-search (or any other available API client package).
|
||||
All of our clients comes with type definition, and are available for both browser and node environments.
|
||||
|
||||
### With a package manager
|
||||
|
||||
```bash
|
||||
yarn add @algolia/client-search@5.34.1
|
||||
# or
|
||||
npm install @algolia/client-search@5.34.1
|
||||
# or
|
||||
pnpm add @algolia/client-search@5.34.1
|
||||
```
|
||||
|
||||
### Without a package manager
|
||||
|
||||
Add the following JavaScript snippet to the <head> of your website:
|
||||
|
||||
```html
|
||||
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-search@5.34.1/dist/builds/browser.umd.js"></script>
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
||||
You can now import the Algolia API client in your project and play with it.
|
||||
|
||||
```js
|
||||
import { searchClient } from '@algolia/client-search';
|
||||
|
||||
const client = searchClient('YOUR_APP_ID', 'YOUR_API_KEY');
|
||||
```
|
||||
|
||||
For full documentation, visit the **[Algolia JavaScript API Client](https://www.algolia.com/doc/libraries/javascript/v5/methods/search/)**.
|
||||
|
||||
## ❓ Troubleshooting
|
||||
|
||||
Encountering an issue? Before reaching out to support, we recommend heading to our [FAQ](https://www.algolia.com/doc/libraries/javascript/v5/) where you will find answers for the most common issues and gotchas with the client. You can also open [a GitHub issue](https://github.com/algolia/api-clients-automation/issues/new?assignees=&labels=&projects=&template=Bug_report.md)
|
||||
|
||||
## 📄 License
|
||||
|
||||
The Algolia JavaScript API Client is an open-sourced software licensed under the [MIT license](LICENSE).
|
3996
node_modules/@algolia/client-search/dist/browser.d.ts
generated
vendored
Normal file
3996
node_modules/@algolia/client-search/dist/browser.d.ts
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2370
node_modules/@algolia/client-search/dist/builds/browser.js
generated
vendored
Normal file
2370
node_modules/@algolia/client-search/dist/builds/browser.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@algolia/client-search/dist/builds/browser.js.map
generated
vendored
Normal file
1
node_modules/@algolia/client-search/dist/builds/browser.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2
node_modules/@algolia/client-search/dist/builds/browser.min.js
generated
vendored
Normal file
2
node_modules/@algolia/client-search/dist/builds/browser.min.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/@algolia/client-search/dist/builds/browser.min.js.map
generated
vendored
Normal file
1
node_modules/@algolia/client-search/dist/builds/browser.min.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
12
node_modules/@algolia/client-search/dist/builds/browser.umd.js
generated
vendored
Normal file
12
node_modules/@algolia/client-search/dist/builds/browser.umd.js
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2504
node_modules/@algolia/client-search/dist/builds/fetch.js
generated
vendored
Normal file
2504
node_modules/@algolia/client-search/dist/builds/fetch.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@algolia/client-search/dist/builds/fetch.js.map
generated
vendored
Normal file
1
node_modules/@algolia/client-search/dist/builds/fetch.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2514
node_modules/@algolia/client-search/dist/builds/node.cjs
generated
vendored
Normal file
2514
node_modules/@algolia/client-search/dist/builds/node.cjs
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@algolia/client-search/dist/builds/node.cjs.map
generated
vendored
Normal file
1
node_modules/@algolia/client-search/dist/builds/node.cjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2503
node_modules/@algolia/client-search/dist/builds/node.js
generated
vendored
Normal file
2503
node_modules/@algolia/client-search/dist/builds/node.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@algolia/client-search/dist/builds/node.js.map
generated
vendored
Normal file
1
node_modules/@algolia/client-search/dist/builds/node.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2426
node_modules/@algolia/client-search/dist/builds/worker.js
generated
vendored
Normal file
2426
node_modules/@algolia/client-search/dist/builds/worker.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@algolia/client-search/dist/builds/worker.js.map
generated
vendored
Normal file
1
node_modules/@algolia/client-search/dist/builds/worker.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3997
node_modules/@algolia/client-search/dist/fetch.d.ts
generated
vendored
Normal file
3997
node_modules/@algolia/client-search/dist/fetch.d.ts
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3997
node_modules/@algolia/client-search/dist/node.d.cts
generated
vendored
Normal file
3997
node_modules/@algolia/client-search/dist/node.d.cts
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3997
node_modules/@algolia/client-search/dist/node.d.ts
generated
vendored
Normal file
3997
node_modules/@algolia/client-search/dist/node.d.ts
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2351
node_modules/@algolia/client-search/dist/src/searchClient.cjs
generated
vendored
Normal file
2351
node_modules/@algolia/client-search/dist/src/searchClient.cjs
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@algolia/client-search/dist/src/searchClient.cjs.map
generated
vendored
Normal file
1
node_modules/@algolia/client-search/dist/src/searchClient.cjs.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
2332
node_modules/@algolia/client-search/dist/src/searchClient.js
generated
vendored
Normal file
2332
node_modules/@algolia/client-search/dist/src/searchClient.js
generated
vendored
Normal file
File diff suppressed because it is too large
Load Diff
1
node_modules/@algolia/client-search/dist/src/searchClient.js.map
generated
vendored
Normal file
1
node_modules/@algolia/client-search/dist/src/searchClient.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
4001
node_modules/@algolia/client-search/dist/worker.d.ts
generated
vendored
Normal file
4001
node_modules/@algolia/client-search/dist/worker.d.ts
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
1
node_modules/@algolia/client-search/index.d.ts
generated
vendored
Normal file
1
node_modules/@algolia/client-search/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
export * from './dist/node';
|
1
node_modules/@algolia/client-search/index.js
generated
vendored
Normal file
1
node_modules/@algolia/client-search/index.js
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
module.exports = require('./dist/builds/node.cjs');
|
68
node_modules/@algolia/client-search/package.json
generated
vendored
Normal file
68
node_modules/@algolia/client-search/package.json
generated
vendored
Normal file
@@ -0,0 +1,68 @@
|
||||
{
|
||||
"version": "5.34.1",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
||||
},
|
||||
"homepage": "https://github.com/algolia/algoliasearch-client-javascript/tree/main/packages/client-search#readme",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"author": "Algolia",
|
||||
"scripts": {
|
||||
"build": "yarn clean && yarn tsup && yarn rollup -c rollup.config.js",
|
||||
"clean": "rm -rf ./dist || true",
|
||||
"test:bundle": "publint . && attw --pack ."
|
||||
},
|
||||
"name": "@algolia/client-search",
|
||||
"description": "JavaScript client for client-search",
|
||||
"exports": {
|
||||
".": {
|
||||
"node": {
|
||||
"types": {
|
||||
"import": "./dist/node.d.ts",
|
||||
"module": "./dist/node.d.ts",
|
||||
"require": "./dist/node.d.cts"
|
||||
},
|
||||
"import": "./dist/builds/node.js",
|
||||
"module": "./dist/builds/node.js",
|
||||
"require": "./dist/builds/node.cjs"
|
||||
},
|
||||
"worker": {
|
||||
"types": "./dist/worker.d.ts",
|
||||
"default": "./dist/builds/worker.js"
|
||||
},
|
||||
"default": {
|
||||
"types": "./dist/browser.d.ts",
|
||||
"module": "./dist/builds/browser.js",
|
||||
"import": "./dist/builds/browser.js",
|
||||
"default": "./dist/builds/browser.umd.js"
|
||||
}
|
||||
},
|
||||
"./dist/builds/*": "./dist/builds/*.js"
|
||||
},
|
||||
"jsdelivr": "./dist/builds/browser.umd.js",
|
||||
"unpkg": "./dist/builds/browser.umd.js",
|
||||
"react-native": "./dist/builds/browser.js",
|
||||
"files": [
|
||||
"dist",
|
||||
"index.js",
|
||||
"index.d.ts"
|
||||
],
|
||||
"dependencies": {
|
||||
"@algolia/client-common": "5.34.1",
|
||||
"@algolia/requester-browser-xhr": "5.34.1",
|
||||
"@algolia/requester-fetch": "5.34.1",
|
||||
"@algolia/requester-node-http": "5.34.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@arethetypeswrong/cli": "0.18.2",
|
||||
"@types/node": "22.16.5",
|
||||
"publint": "0.3.12",
|
||||
"rollup": "4.41.0",
|
||||
"tsup": "8.5.0",
|
||||
"typescript": "5.8.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 14.0.0"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user