Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@algolia/client-query-suggestions
Advanced tools
Documentation • InstantSearch • Community Forum • Stack Overflow • Report a bug • FAQ • Support
[!TIP] This API client is already a dependency of the algoliasearch client, you don't need to manually install
@algolia/client-query-suggestions
if you already havealgoliasearch
installed.
To get started, you first need to install @algolia/client-query-suggestions (or any other available API client package). All of our clients comes with type definition, and are available for both browser and node environments.
yarn add @algolia/client-query-suggestions@5.10.2
# or
npm install @algolia/client-query-suggestions@5.10.2
# or
pnpm add @algolia/client-query-suggestions@5.10.2
Add the following JavaScript snippet to the of your website:
<script src="https://cdn.jsdelivr.net/npm/@algolia/client-query-suggestions@5.10.2/dist/builds/browser.umd.js"></script>
You can now import the Algolia API client in your project and play with it.
import { querySuggestionsClient } from '@algolia/client-query-suggestions';
const client = querySuggestionsClient('YOUR_APP_ID', 'YOUR_API_KEY');
For full documentation, visit the Algolia JavaScript API Client.
Encountering an issue? Before reaching out to support, we recommend heading to our FAQ where you will find answers for the most common issues and gotchas with the client. You can also open a GitHub issue
The Algolia JavaScript API Client is an open-sourced software licensed under the MIT license.
FAQs
JavaScript client for client-query-suggestions
The npm package @algolia/client-query-suggestions receives a total of 151,054 weekly downloads. As such, @algolia/client-query-suggestions popularity was classified as popular.
We found that @algolia/client-query-suggestions demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 87 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.