@userdive/optimizely-x-plugin
v3.0.0
Published
a plugin to integrate Optimizely X A/B testing
Downloads
9
Readme
@userdive/optimizely-x-plugin
Table of Contents
Install
npm install @userdive/optimizely-x-plugin
Usage
import Agent from "@userdive/agent";
import Plugin from "@userdive/optimizely-x-plugin";
const agent = new Agent("projectId", "auto");
agent.provide("optimizely", Plugin);
agent.require("optimizely");
agent.run("optimizely", "getVariation");
Contribute
PRs accepted. join us
License
GPLv3. Full license text is available in LICENSE