estree-eval Evaluate estrees: import { evaluate } from 'estree-eval';import { parseExpressionAt } from 'acorn'; const ast = parseExpressionAt('message.toUpperCase()', 0); const scope = { message: 'hello world' }; const result = evaluate(ast, scope); // HELLO WORLD