MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / helperDir

Function helperDir

packages/cli/src/utils/compositionServer.ts:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18function helperDir(): string {
19 // fileURLToPath (not URL.pathname) so the Windows "/D:/..." leading-slash form
20 // doesn't break the bundle-path resolution below.
21 return dirname(fileURLToPath(import.meta.url));
22}
23
24export function resolveRuntimePath(): string | null {
25 const d = helperDir();

Callers 3

resolveRuntimePathFunction · 0.85
resolvePlayerPathFunction · 0.85
resolveSlideshowPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected