Interfaces
- ParsedPath
Namespaces
- posix
- win32
Properties
Methods
SM basename(p: string, ext: string) string
Parameters:
Name |
Type |
Argument |
p |
string
|
|
ext |
string
|
<optional>
|
Returns:
{
string
}
SM dirname(p: string) string
Parameters:
Returns:
{
string
}
SM extname(p: string) string
Parameters:
Returns:
{
string
}
Parameters:
Returns:
{
string
}
SM isAbsolute(p: string) boolean
Parameters:
Returns:
{
boolean
}
SM join(...paths: any) string
Parameters:
Name |
Type |
Argument |
...paths |
any
|
<repeatable>
|
Returns:
{
string
}
SM normalize(p: string) string
Parameters:
Returns:
{
string
}
SM relative(from: string, to: string) string
Parameters:
Name |
Type |
from |
string
|
to |
string
|
Returns:
{
string
}
SM resolve(...pathSegments: any) string
Parameters:
Name |
Type |
Argument |
...pathSegments |
any
|
<repeatable>
|
Returns:
{
string
}