Skip to content

nsuite v2.2.1


nsuite / joinPosixPath

Function: joinPosixPath() ​

joinPosixPath(...args): string

Defined in: UtilsPath.ts:63

Joins multiple path segments into a single POSIX path.

Parameters ​

args ​

...string[]

The path segments to join.

Returns ​

string

The joined POSIX path.

Example ​

ts
import { joinPosixPath } from "nsuite";
const targetPath = joinPosixPath("path", "to", "file.txt");

Released under the Apache-2.0 License.