Best function and expression library for JSON.
npm install --save formulaimport{run}from"formula";// jsonpath + spreadsheet-like expression system eats json for lunch.run("$.a.b = 1",'{ "a": { "b": 1 } }')// sum, vlookup, hlookup and friends.run("sum(a, b, c) = 1+2+3",{a: 1,b: 2,c: 3});Add to the browser with:
<scripttype="text/javascript" src="https://unpkg.com/formula@3.16.0/lib/formula.min.js"