Expression evaluator
This module is aimed to evaluate expressions created with logical and/or comparison operators. It returns true if the given plain object property-value pairs match the preconfigured targeting expression and false if it does not. For now it is made to be used in determination of Abby experiments targeting. On the other hand it is a universal package and can be used for other purposes as well.
Usage
You just need to init the module to be able to use evaluator.
const expressionEvaluator = require('expression-evaluator');
Test
Run npm test
to start tests. It will automatically generate coverage.