🕊️ Convert javaScript code to be runtime agnostic
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
pi0 opened this issue 2 months ago · comments
Followup #226
Although less secure, we could maximize runtime compatibility by emulating node:vm using eval or dynamic imports (if allowed)
node:vm
eval
Use-case: It would allow libs like jiti run within worker and browser contexts (however not ideal, but work!)
Closing as is low priority (let's reopen if needed)