Nurturing Palpable Magnificence

    @attraqt/ab-test
    TypeScript icon, indicating that this package has built-in type declarations

    1.5.1 • Public • Published

    @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

    Method Argument(s) Result Description
    drawAbTestVariationForUser options: AbTest string Draws a variation for the given user id

    Keywords

    none

    Install

    npm i @attraqt/ab-test

    DownloadsWeekly Downloads

    1,456

    Version

    1.5.1

    License

    MIT

    Unpacked Size

    4.92 kB

    Total Files

    9

    Last publish

    Collaborators

    • attraqt-admin