MCPcopy Create free account
hub / github.com/browserbase/stagehand / normalizePath

Function normalizePath

packages/docs/scripts/runtimePaths.js:24–27  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

22]);
23
24const normalizePath = (value) => {
25 const input = value.startsWith("file://") ? fileURLToPath(value) : value;
26 return path.resolve(input).replaceAll("\\", "/");
27};
28
29const readCallsites = () => {
30 const previousPrepare = Error.prepareStackTrace;

Callers 2

readCallsitePathFunction · 0.70
isMainModuleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected