• Find the closest package.json file

    Parameters

    • from: string | URL

      The directory (or file) to start searching from

    Returns Promise<string | null>

    `findPackageJson(import.meta.url)` // returns the package.json file of this package