Dice Roll
A simple A/B test library for JavaScript
Features
- Pass in any percentage to test
- Will cookie user so they stay in the test when they come back (requires: cookie-monster)
- Get a callback that tells you whether the user is in the test or not
Installation
npm install dice-roll
Usage
//jquery style chaining ; ; ; ;
Example
//cookied for 1 day ; ; ; ;