A fork of Bellard's QuickJS.
CMake support of QuickJS, use submodule to the official mirror.
Available on Windows(32-bit) without mingw.
This fork exposes a small JS_CaptureCallSites(ctx, skip_count) C API so embedders such as Nodex can capture structured stack frames without parsing formatted Error.stack strings. The API returns frame metadata such as function name, filename, line/column, and whether the frame is native; higher-level Node/V8-compatible CallSite behavior remains implemented by the embedder.
It also exposes JS_SetHostAsyncContextHooks(rt, hooks, opaque), a generic job-queue hook for capturing an embedder-owned opaque async context when a JS job is queued and entering/leaving/freeing that context when the job runs or is discarded. QuickJS stores only the opaque pointer; embedders implement higher-level semantics such as AsyncLocalStorage, async_hooks, or policy delegation.
Clone the repo:
git clone https://github.com/vincentdchan/quickjs.gitor use this repo as submodule
git submodule add https://github.com/vincentdchan/quickjs.git
git submodule update --init --recursive- libquickjs
- qjs
- qjsc
- run-test262