JavaScript parser and interpreter written in python
import pyjs
tree = pyjs.parse("console.log('hello, world')")- Not Selenium
- Efficient parsing using generators
- assignments
- function calls with any number of arguments
- if-else blocks
- loops
- named
functiondefinitions - anonymous
functiondefinitions - arrow function definitions
- string templates
- async functions
- comments (ignored)