9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function join(...paths: string[]): string;

Defined in: file-system/index.d.ts:374

Joins all the provided string components, forming a valid and normalized path.

Parameters

ParameterTypeDescription
...pathsstring[]An array of string components to be joined.

Returns

string

Previous
separator