EvalBuilder
Eval string builder for javascript. To be used with libraries such as :
or any other usecase that requires you to input the code as a string.
Installation
npm install evalbuilder --save
Usage:
const evalbuilder = console; // 'max(1,2)'console; // 'max([1,2,3])'console // 'sort({"id":1,"str":"hey"},{"id":2,"str":"hi"})'console //anyfunctioname("hello")
Implementation
Utilises javascript es6 Proxy.