hunk.code_window:       lru-cache: 5.1.1
         make-dir: 3.0.0
         mz: 2.7.0
         pnpm: 'link:../pnpm'
         rimraf: 3.0.0
     packages/store-controller-types:
       dependencies:
         '@pnpm/resolver-base': 'link:../resolver-base'
  
hunk.labels: keep keep keep replace keep keep keep keep
hunk.file_path: pnpm-lock.yaml
hunk.type: replace
file: # @pnpm/read-package-json
  
  > Read a package.json
  
  <!--@shields('npm')-->
  [![npm version](https://img.shields.io/npm/v/@pnpm/read-package-json.svg)](https://www.npmjs.com/package/@pnpm/read-package-json)
  <!--/@-->
  
  ## Installation
  
  ```sh
  <pnpm|npm|yarn> add @pnpm/read-package-json
  ```
  
  ## Usage
  
  ```ts
  import readPackageJson from '@pnpm/read-package-json'
  
  const pkgJson = await readPackageJson('package.json')
  ```
  
  ## API
  
  ### default: `readPackageJson(path): Promise<PackageManifest>`
  
  ### Arguments
  
  - `path` - _String_ - path to the `package.json`
  
  ### `fromDir(path): Promise<PackageManifest>`
  
  ### Arguments
  
  - `path` - _String_ - path to the directory with the `package.json`
  
  ## License
  
  MIT © [Zoltan Kochan](https://www.kochan.io/)
  