Skip to content

Function: toHost()

toHost(posixPath, separator?): string

Convert a POSIX path to a host separator style.

string

string = "/"

Host separator (path.sep in Node). Defaults to / (no-op), which keeps shared code free of process.

string