justjake / quickjs-emscripten

Safely execute untrusted Javascript in your Javascript, and execute synchronous code that uses async functions
https://www.npmjs.com/package/quickjs-emscripten
Other
1.18k stars 94 forks source link

Allow disabling intrinsic language features (like #116) #136

Closed justjake closed 6 months ago

justjake commented 6 months ago

This is essentially a rebase of #116 after the large project change. Allows configuring/disabling the intrinsics inside a JSContext to use less memory.