Resolve the package root of the module at importMetaUrl.
importMetaUrl
The module's import.meta.url (a file: URL).
import.meta.url
file:
The absolute package root, or undefined when no package.json is found above the module.
undefined
package.json
Resolve the package root of the module at
importMetaUrl.