Read the host package of the module at importMetaUrl: its root and the version and description of its package.json. Best effort: a missing or unreadable package.json gives undefined or a root with no fields.
importMetaUrl
version
description
package.json
undefined
The module's import.meta.url.
import.meta.url
The host package, or undefined when there is no package root.
Read the host package of the module at
importMetaUrl: its root and theversionanddescriptionof itspackage.json. Best effort: a missing or unreadablepackage.jsongivesundefinedor a root with no fields.