
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Abo is a micro front-end A/B testing library.
npm install --save abo
The first time a user visits a page he gets an experiment assigned. The experiment's ID is stored in the user's cookies. He will not get other experiments assigned until the one he's on is active.
How is the traffic allocated between experiments? By default, the traffic is divided equally between all experiments. If some experiment has to have more or less traffic, it can be specified through the traffic parameter. The value of traffic has to be between 0 and 1. 0 is no traffic at all. 1 is 100% of the traffic.
How to target specific devices/pages/users with an experiment? An experiment will only be assigned to a user if its assignment condition is satisfied. The assignment condition is a function passed to the ac property that returns a boolean. So if an experiment is changing the homepage for mobile devices, the AC of the experiment can look like this:
function() {
return location.href.indexOf('/homepage/') !== -1 &&
matchMedia('(max-width: 749px)').matches;
}
abo([{
id: '423',
name: 'Blue buttons on Homepage',
/* Assignment Condition */
ac: function() {
return location.href.indexOf('/homepage/') !== -1;
},
traffic: 0.1, // 10% of the traffic will be assigned to this variation if the Assignemt condition was satisfied
setup: function() {
$('button').css({
'background-color': 'blue'
});
}
}, {
id: '132',
name: 'New page title',
setup: function() {
$('title').html('New page title');
}
}]);
Don't know how to bootstrap your A/B testing project with Abo? No problems, just use Yeoman generator for Abo.
The MIT License (MIT)
FAQs
A micro front-end A/B testing framework.
The npm package abo receives a total of 0 weekly downloads. As such, abo popularity was classified as not popular.
We found that abo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.