{"name":"@pnpm/read-package-json","version":"9.0.4","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":"11.0.0"},"funding":"https://opencollective.com/pnpm","devDependencies":{"@types/normalize-package-data":"^2.4.4","@pnpm/read-package-json":"9.0.4"},"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.4","_integrity":"sha512-9HGhiVcp0ZmME3feQdYg+PKh+bO9L0EqIL2VsdXj6VWeP0+vbEk+Xg6xZd+h2mYQ57YsmpNFPCvYXGbR8jN2Mw==","_resolved":"/tmp/27936caadb80ef70b39bc4b89f3188d0/pnpm-read-package-json-9.0.4.tgz","_from":"file:pnpm-read-package-json-9.0.4.tgz","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-9HGhiVcp0ZmME3feQdYg+PKh+bO9L0EqIL2VsdXj6VWeP0+vbEk+Xg6xZd+h2mYQ57YsmpNFPCvYXGbR8jN2Mw==","shasum":"0e85186507868d414002025e8f9fb238297079f6","tarball":"http://registry-npm.ywwl.com/@pnpm/read-package-json/download/@pnpm/read-package-json-9.0.4.tgz","fileCount":6,"unpackedSize":6170,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnOJwUoDWRJGSzRaOsViQsg2acHbUpD0Ycr/a4/cT82QIhAIHYBYRsQFm0YnC7czMAASkyeJZSF5zklUqCIeTA+oRc"}],"size":2631,"noattachment":false,"key":"/@pnpm/read-package-json/-/@pnpm/read-package-json-9.0.4.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-package-json_9.0.4_1720101991002_0.9222238706556132"},"_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":1720101991161,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1720101991161,"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"}}