expression-rule-engine

    0.6.0 • Public • Published

    expression-rule-engine

    Rule engine to process the JavaScript expression based rules

    Methods

    setOptions

    To setup rule engine options to override the defaults.

    getOptions

    To fetch the current options.

    isValidExpression

    To find the expression is valid or invalid.

    convertToExpressionTree

    To convert the expression string to expression tree structure (Abstract Syntax Tree).

    evaluateExpression

    To evaluate the expression based on the variable values map input.

    Install

    npm i expression-rule-engine

    DownloadsWeekly Downloads

    7

    Version

    0.6.0

    License

    MIT

    Last publish

    Collaborators

    • parrivp