Namespace: path

Functions

join

join(...paths): string

Join paths. Uses normalize for the result.

Parameters

Name Type
...paths string[]

Returns

string


normalize

normalize(path): string

Path normalizer. Always produces paths with forward slash, ie. “/”

Safe to use with protocol path prefixes, such as http:// or https://

Parameters

Name Type
path string

Returns

string