πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement
Enables path-specific operations like join, extension, etc.

Summary ​

Variables

separator

Functions

join
normalize

Variables ​

separator ​

separator: string
Gets the string used to separate file paths.

Functions ​

join ​

join(...paths: string[]): string
Joins all the provided string components, forming a valid and normalized path.
Parameter Default Description
paths
string[]

An array of string components to be joined.

Returns string

normalize ​

normalize(path: string): string
Normalizes a path, taking care of occurrances like ".." and "//".
Parameter Default Description
path
string

The path to be normalized.

Returns string

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /