property ImportMeta.dirname Usage in Denoimport { type ImportMeta } from "node:module"; 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. Type string