Function call parser
High performace function call parser, parse text and call function with argument without eval
High perormance
Function parser is good for cases when you want to describe function calls without the string overheads of json.
Simple to use
Using Javascript
//Require all Function parser module const FunctionParser = ; //Or Directly load the desired `parse` const parse = ; //Simple usage /*=> [ { name: "foo", args: [ 1, "bar" ] }, { name: "foo", args: [ null, "bar" ] }]*/
Using TypeScript
; //Usage parse'test({"json works": "However, for best performance it is recommended not to use json"})' /*=> [ { name: "test", args: [ { "json works": "However, for best performance it is recommended not to use json" } ] }]*/