MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / star

Function star

runtime/tests/runtime.test.js:18–18  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

16const PKG = JSON.parse(readFileSync(new URL("./app/packages.json", import.meta.url)));
17// star-import every module key, recursing through the imports/host category containers
18const star = (m) => Object.entries(m).flatMap(([k, v]) => (k === "imports" || k === "host" ? star(v) : `from ${k} import *`));
19const PRELUDE = star(PKG).join("\n") + "\n";
20const TYPES = {
21 ".js": "text/javascript", ".wasm": "application/wasm", ".html": "text/html",

Callers 1

runtime.test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected