XMLDOM
A JavaScript implementation of JavaScript Style Expression Engine.
Install:
npm install js-el
Example:
var Expression = ;var el = "(object.attr+x)+1+JSON.stringfy([c,d])" consoleconsoleconsole
objectattr+x+1+JSON object: 'attr' x: '' JSON: 'stringfy' c: '' d: '' JSON: 'stringfy'
API Reference
- #evaluate(token) #getVarMap() #getCallMap() #token