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