The directory name of the current module.
The full absolute path and filename of the current module, with symlinks resolved.
true when the current module is the entry point of the current process; false otherwise.
true
false
import.meta.resolve is a module-relative resolution function scoped to each module, returning the URL string.
import.meta.resolve