This is a JavaScript port of the Ruby determinator library.
⚠️ This version is in an extremely early stage (I'm learning how to write NPM modules) and though it makes use of determiantor's standard tests to ensure it functions correctly, the API is likely to change a lot as this gets worked on.
Usage
constd=require('determinator');constretrieval=newd.FileRetrieval('path/to/features/');constdeterminator=newd.Determinator(retrieval);constoutcome=determinator.Determinate('my_experiment_name','user id','anonymous user id',{employee: true})