stack

Home > @infiniteobjects/core-library-web > Url > normalize

Url.normalize() method

Normalizes uris. Can pass http(s)://, ipfs:// or ar:// protocols and this function will normalize to the correct gateway

Signature:

static normalize(rawUrl: string): string;

Parameters

Parameter Type Description
rawUrl string  

Returns:

string