
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
@algolia/abtesting
Advanced tools
Documentation • InstantSearch • Community Forum • Stack Overflow • Report a bug • Support
[!TIP] This API client is already a dependency of the algoliasearch client, you don't need to manually install
@algolia/abtestingif you already havealgoliasearchinstalled.
To get started, you first need to install @algolia/abtesting (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/abtesting@1.8.0
# or
npm install @algolia/abtesting@1.8.0
# or
pnpm add @algolia/abtesting@1.8.0
Add the following JavaScript snippet to the of your website:
<script src="https://cdn.jsdelivr.net/npm/@algolia/abtesting@1.8.0/dist/builds/browser.umd.js"></script>
You can now import the Algolia API client in your project and play with it.
import { abtestingV3Client } from '@algolia/abtesting';
const client = abtestingV3Client('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 abtesting
The npm package @algolia/abtesting receives a total of 1,261,119 weekly downloads. As such, @algolia/abtesting popularity was classified as popular.
We found that @algolia/abtesting demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 96 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.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.