This maybe, as a start?
https://github.com/justjake/quickjs-emscripten
See https://github.com/justjake/quickjs-emscripten/blob/main/c/i... for the mem/CPU limits.
https://github.com/justjake/quickjs-emscripten
See https://github.com/justjake/quickjs-emscripten/blob/main/c/i... for the mem/CPU limits.