@marterrez/eval-expression
Small lib that allows to eval a string containing javascript code. It allows you do inject helper functions when evaluating the expression
Usage no npm install needed!
<script type="module">
import marterrezEvalExpression from 'https://cdn.skypack.dev/@marterrez/eval-expression';
</script>