Formula expressions and functions for JavaScript.
npm install --save formula
import { run } from "formula";
run("sum(a, b, c) = 1+2+3", { a: 1, b: 2, c: 3 });
Add to the browser with:
<script type="text/javascript" src="https://unpkg.com/formula@3.8.1/lib/formula.min.js"