Documentation for Simbo's Packages
    Preparing search index...

    Function readPackageJson

    • Reads the package.json file from the specified path without normalizing it.

      Parameters

      • path: string = ...

        The path to the package.json file or its directory.

      Returns Promise<PackageJson>

      The parsed package.json object.

      An error if the file cannot be read or contains invalid JSON.