Gets the directory name of the current module. Handles file: URLs and edge runtimes.
file:
The directory name.
Gets the directory name of the current module. Handles
file:URLs and edge runtimes.