Returns the directory name of the given file URL.
The file URL to extract the directory name from.
The directory name of the given file URL.
import { getDirname } from "nsuite";const __dirname = getDirname(import.meta.url); Copy
import { getDirname } from "nsuite";const __dirname = getDirname(import.meta.url);
Returns the directory name of the given file URL.