MCPcopy Index your code
hub / github.com/tkirda/jQuery-Autocomplete / path

Function path

scripts/build.mjs:9–9  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

7const __dirname = dirname(fileURLToPath(import.meta.url));
8const repoRoot = resolve(__dirname, "..");
9const path = (p) => resolve(repoRoot, p);
10
11const pkg = JSON.parse(await readFile(path("package.json"), "utf8"));
12const version = pkg.version;

Callers 2

build.mjsFile · 0.85
buildUmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected