dirname
Import from @varavel/vdl-plugin-sdk/utils/paths.
Returns the parent directory portion of a path.
Parameters
| Parameter | Type | Description |
|---|---|---|
path |
string |
Path to inspect. |
Returns
string
The directory name portion of path.
Example
See
Powered by pathe (MIT License): https://github.com/unjs/pathe