Socket
Socket
Sign inDemoInstall

@attraqt/ab-test

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@attraqt/ab-test

## Installation and Usage


Version published
Weekly downloads
848
decreased by-3.75%
Maintainers
1
Weekly downloads
 
Created
Source

@attraqt/ab-test

Installation and Usage

npm install --save @attraqt/ab-test
import {drawAbTestVariationForUser} from @attraqt/ab-test

drawAbTestVariationForUser("31d814b3-ee4a-401e-80dc-77efbfa431fa", {
  id: "homepage-ab-test",
  variations: [{
    id: "a",
    weight: 50
  }, {
    id: "b",
    weight: 50
  }]
});

Methods

MethodArgument(s)ResultDescription
drawAbTestVariationForUseroptions: AbTeststringDraws a variation for the given user id

FAQs

Package last updated on 09 Nov 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc