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

Method getOrigin

typings/internalBinding/url.d.ts:13–13  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

11 parse(input: string, base?: string): string | false;
12 update(input: string, actionType: typeof urlUpdateActions, value: string): string | false;
13 getOrigin(input: string): string;
14 pathToFileURL(input: string, isWindows: boolean, hostname?: string): string;
15}

Callers 1

getURLOriginFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected