Skip to main content

dirname

property ImportMeta.dirname

The directory name of the current module. This is the same as the path.dirname() of the import.meta.filename. Caveat: only present on file: modules.

string
Back to top