@karmaniverous/get-dotenv
    Preparing search index...

    Function readHostPackage

    • 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.

      Parameters

      • importMetaUrl: string | undefined

        The module's import.meta.url.

      Returns Promise<HostPackage | undefined>

      The host package, or undefined when there is no package root.