{"name":"@pnpm/read-package-json","version":"9.0.7","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.1.0"},"funding":"https://opencollective.com/pnpm","devDependencies":{"@types/normalize-package-data":"^2.4.4","@pnpm/read-package-json":"9.0.7"},"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.7","_integrity":"sha512-X0x+f4qYQDoHEOy0FyTH3khcUbeZBcSsYmrEoOlYp8BOzmXA0jHOnafBpM3TSjmhrpMYP/VZwVLfwI1WYGWfOA==","_resolved":"/tmp/3d46f03b1af4b8af910310ef5ade3df8/pnpm-read-package-json-9.0.7.tgz","_from":"file:pnpm-read-package-json-9.0.7.tgz","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-X0x+f4qYQDoHEOy0FyTH3khcUbeZBcSsYmrEoOlYp8BOzmXA0jHOnafBpM3TSjmhrpMYP/VZwVLfwI1WYGWfOA==","shasum":"92fa38b098c554e58aa3c1e8d8c345d0efdd1e17","tarball":"http://registry-npm.ywwl.com/@pnpm/read-package-json/download/@pnpm/read-package-json-9.0.7.tgz","fileCount":6,"unpackedSize":6036,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDbfR3gvWad9Ak8LnXjcPuoKbLeR0fLjAY33s98iHjRAAiAgneuelenF5+Uj6YpfHK/m+hSgd1K8hvj2zYq4S7SM+w=="}],"size":2648,"noattachment":false,"key":"/@pnpm/read-package-json/-/@pnpm/read-package-json-9.0.7.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-package-json_9.0.7_1724685977087_0.39958823391395026"},"_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":1724685977225,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1724685977225,"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"}}