Skip to content

[F] normalizePath

function normalizePath(path): string;

Normalize slashes and relative segments without making a relative path absolute; preserve a trailing separator.

ParameterType
pathstring

string