import { runVal } from "https://esm.town/v/std/runVal";
export async function nodejs() {
const token =
(await runVal("easrng.nodejsInternals", {
action: "create",
})) as string;
return async (code) =>
await runVal("easrng.nodejsInternals", {
action: "eval",
token,
code,
});
}