MCPcopy Index your code
hub / github.com/nodejs/node / getEvalModuleUrl

Function getEvalModuleUrl

lib/internal/process/execution.js:62–64  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61let evalIndex = 0;
62function getEvalModuleUrl() {
63 return `${pathToFileURL(process.cwd())}/[eval${++evalIndex}]`;
64}
65
66/**
67 * Evaluate an ESM entry point and return the promise that gets fulfilled after

Callers 2

evalModuleEntryPointFunction · 0.85

Calls 1

pathToFileURLFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…