The main documentation is in doc/quickjs.pdf or doc/quickjs.html.
Public repository of the QuickJS Javascript Engine with tweaks to run on ESP32S3