• Reads and parses a package.json

    Parameters

    • packageJsonPath: string

      Path to the package.json

    Returns Promise<PackageJson>

    An promise that resolves with an in-memory representation of the package.json or rejects with an error if the file is not found or the content is not decodable.