{"name":"@pnpm/read-package-json","version":"9.0.8","description":"Read a package.json","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=18.12"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/pkg-manifest/read-package-json"},"keywords":["pnpm9","pnpm","outdated"],"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/main/pkg-manifest/read-package-json#readme","dependencies":{"load-json-file":"^6.2.0","normalize-package-data":"^5.0.0","@pnpm/error":"6.0.1","@pnpm/types":"12.2.0"},"funding":"https://opencollective.com/pnpm","devDependencies":{"@types/normalize-package-data":"^2.4.4","@pnpm/read-package-json":"9.0.8"},"exports":{".":"./lib/index.js"},"scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","_test":"jest","test":"pnpm run compile && pnpm run _test","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/read-package-json@9.0.8","_integrity":"sha512-ip6ApFUvPvT/7Se29L1fU2WkUz80PUkRH0PDE+lX+lvR5gG0Pnpn1ajNZTjL9GqUtKezLlCePPwb7m0R3oprcw==","_resolved":"/tmp/cace6b520f0ca880c99ea399f4a0c400/pnpm-read-package-json-9.0.8.tgz","_from":"file:pnpm-read-package-json-9.0.8.tgz","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-ip6ApFUvPvT/7Se29L1fU2WkUz80PUkRH0PDE+lX+lvR5gG0Pnpn1ajNZTjL9GqUtKezLlCePPwb7m0R3oprcw==","shasum":"ffc67937b37ae8dcf5b22419ecf81b0e3559a15f","tarball":"http://registry-npm.ywwl.com/@pnpm/read-package-json/download/@pnpm/read-package-json-9.0.8.tgz","fileCount":6,"unpackedSize":6036,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDGlpZUZcGXdQPkyc6evV3uRi0s/QoSodZ6TS50gEVXQIgHGNJF6usp/BHdmHSs1Qb4RFZBtMzCaFFj/xtUySVQrY="}],"size":2646,"noattachment":false,"key":"/@pnpm/read-package-json/-/@pnpm/read-package-json-9.0.8.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-package-json_9.0.8_1725890036341_0.7992386793858768"},"_hasShrinkwrap":false,"readme":"# @pnpm/read-package-json\n\n> Read a package.json\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/read-package-json.svg)](https://www.npmjs.com/package/@pnpm/read-package-json)\n<!--/@-->\n\n## Installation\n\n```sh\npnpm add @pnpm/read-package-json\n```\n\n## Usage\n\n```ts\nimport readPackageJson from '@pnpm/read-package-json'\n\nconst pkgJson = await readPackageJson('package.json')\n```\n\n## API\n\n### default: `readPackageJson(path): Promise<PackageManifest>`\n\n### Arguments\n\n- `path` - _String_ - path to the `package.json`\n\n### `fromDir(path): Promise<PackageManifest>`\n\n### Arguments\n\n- `path` - _String_ - path to the directory with the `package.json`\n\n## License\n\nMIT\n","publish_time":1725890036517,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1725890036517,"dist-tags":{"dev":"0.0.0-20230605-20230605142810","latest":"1000.1.8","latest-10":"1000.1.9","latest-6":"5.0.13","next":"3.1.0","pnpm-temp":"3.1.3"}}