Skip to content

craft-hub / normalizeRepositoryUrl

Function: normalizeRepositoryUrl() ​

normalizeRepositoryUrl(input): string

Defined in: packages/craft-hub/src/project-reference.ts:10

Normalize an HTTPS or SSH Git remote into a credential-free HTTPS identity.

Parameters ​

input ​

string

Returns ​

string

Released under the MIT License.