Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
@algolia/client-abtesting
Advanced tools
@algolia/client-abtesting is an npm package that provides tools for managing A/B testing within the Algolia search platform. It allows developers to create, manage, and monitor A/B tests to optimize search performance and user experience.
Create an A/B Test
This feature allows you to create a new A/B test by specifying the variants, traffic distribution, and end date. The code sample demonstrates how to initialize the A/B testing client and create a test with two variants.
const algoliasearch = require('algoliasearch');
const client = algoliasearch('YourApplicationID', 'YourAdminAPIKey');
const abTesting = client.initABTesting();
const abTest = {
name: 'my-ab-test',
variants: [
{ index: 'indexA', trafficPercentage: 50, description: 'Variant A' },
{ index: 'indexB', trafficPercentage: 50, description: 'Variant B' }
],
endAt: '2023-12-31T00:00:00Z'
};
abTesting.addABTest(abTest).then(({ abTestID }) => {
console.log('A/B Test created with ID:', abTestID);
});
Get an A/B Test
This feature allows you to retrieve the details of an existing A/B test by its ID. The code sample shows how to fetch and log the details of a specific A/B test.
const algoliasearch = require('algoliasearch');
const client = algoliasearch('YourApplicationID', 'YourAdminAPIKey');
const abTesting = client.initABTesting();
const abTestID = 12345;
abTesting.getABTest(abTestID).then(abTest => {
console.log('A/B Test details:', abTest);
});
Stop an A/B Test
This feature allows you to stop an ongoing A/B test by its ID. The code sample demonstrates how to stop a specific A/B test.
const algoliasearch = require('algoliasearch');
const client = algoliasearch('YourApplicationID', 'YourAdminAPIKey');
const abTesting = client.initABTesting();
const abTestID = 12345;
abTesting.stopABTest(abTestID).then(() => {
console.log('A/B Test stopped');
});
Split.io is a feature experimentation platform that allows you to create, manage, and analyze A/B tests and feature flags. It provides robust tools for targeting, segmentation, and real-time experimentation. Split.io is similar to @algolia/client-abtesting in that it offers A/B testing capabilities, but it also includes advanced feature flagging and targeting options, making it suitable for a broader range of use cases.
LaunchDarkly is a feature management platform that enables you to control the release of features through feature flags and conduct A/B tests. It offers powerful targeting and segmentation features, allowing you to deliver personalized experiences to different user segments. While @algolia/client-abtesting focuses on search optimization, LaunchDarkly provides a more general-purpose feature management and experimentation platform.
requester-fetch
(#855) by @shortcutssearchSynonyms
(#852) by @shortcutsrequestOptions
to helper methods (#797) by @shortcutspredict
package (#796) by @shortcuts@algolia
NPM namespace (#785) by @shortcutsabtesting
client, better init
usage (#784) by @shortcutsclient-common
(#765) by @shortcutsclient-common
(#765) by @shortcutsrenderingContent
and consequenceParams
(#759) by @shortcutswaitForApiKey
helper method (#738) by @shortcutsalgoliasearch
dist (#735) by @shortcutslite
package in algoliasearch
(#729) by @shortcutstypoTolerance
(#722) by @shortcutsalgoliasearch
(#706) by @shortcutssearch
method (#665) by @shortcutsmaxTrial
to maxRetries
(#659) by @shortcutsechoRequester
logic (#650) by @shortcutssearchParams
to the request (#531) by @shortcutsPOST
methods to send read
requests (#525) by @shortcutssearch
method (#514) by @shortcutsrequestOptions
and cache options (#283) by @shortcutsmodels
(#252) by @shortcutsalgoliasearch
package (#158) by @shortcutsaddUserAgent
method (#154) by @shortcutsversion
variable (#141) by @shortcutsservers
(#98) by @shortcutsabtesting
specs and client (#76) by @shortcutssearch
endpoints (#50) by @shortcutsdictionary
specs (#49) by @shortcutsanalytics
specs and client. (#36) by @shortcutspersonalizaton
spec and client (#27) by @shortcutsrecommend
spec and client (#19) by @shortcutssettings
spec (#17) by @shortcutssearchParams
to the request (#531) by @shortcutsPOST
methods to send read
requests (#525) by @shortcutssearch
method (#514) by @shortcutsClient
suffix (#386) by @shortcutsFAQs
JavaScript client for client-abtesting
The npm package @algolia/client-abtesting receives a total of 91,164 weekly downloads. As such, @algolia/client-abtesting popularity was classified as popular.
We found that @algolia/client-abtesting demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 85 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.