expression-evaluator

0.2.5 • Public • Published

Coverage Status Build Status

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.

Readme

Keywords

Package Sidebar

Install

npm i expression-evaluator

Weekly Downloads

0

Version

0.2.5

License

ISC

Unpacked Size

5.38 kB

Total Files

4

Last publish

Collaborators

  • arustamyan
  • hasmik
  • diana_gasparyan
  • gevorgm
  • arthur_arushanyan
  • tovmassian
  • andreipislariu_greetz
  • janvanderveen