Initminal run
Safely execute untrusted code with ESM syntax support, dynamic injection of ESM modules from URL or plain JS code, and granular access control based on whitelisting for each JS object.
Input
Output
Info
Ok!
Features
ESM Syntax
untrusted code can use `import` and `export` module syntax
Dynamic ESM module injection
easily inject modules dependencies from `data:` or `http(s)` `URL`s, or just plain JS code string.
Granular access control
untrusted code has access only to whitelisted JS objects
Isomorphic
compatible with both browsers and Node.js
Queue
evaluations are automatically queued
Fast
leverage native `import()` syntax for code evaluation
Non-blocking
run code inside a module worker, off the main thread
Always terminable
terminate long running code at any time