{"name":"@pnpm/read-package-json","version":"9.0.3","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/types":"10.1.1","@pnpm/error":"6.0.1"},"funding":"https://opencollective.com/pnpm","devDependencies":{"@types/normalize-package-data":"^2.4.4","@pnpm/read-package-json":"9.0.3"},"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.3","_integrity":"sha512-BkPuE+iATszbWNWrcyumvJjkN4Wp1kZK0mJHKbgjwo7hGqBs+SB7VV3XO/qZNBbjPxOXW/9Dd/Rg6vx6pI6Ppg==","_resolved":"/tmp/de9b8389f439c03e252d589fb1b15f04/pnpm-read-package-json-9.0.3.tgz","_from":"file:pnpm-read-package-json-9.0.3.tgz","_nodeVersion":"18.20.3","_npmVersion":"10.7.0","dist":{"integrity":"sha512-BkPuE+iATszbWNWrcyumvJjkN4Wp1kZK0mJHKbgjwo7hGqBs+SB7VV3XO/qZNBbjPxOXW/9Dd/Rg6vx6pI6Ppg==","shasum":"01b88e5b6f327d1165ab88a2111d34f8abc2a3f6","tarball":"http://registry-npm.ywwl.com/@pnpm/read-package-json/download/@pnpm/read-package-json-9.0.3.tgz","fileCount":6,"unpackedSize":6170,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDcK79BQz3dCp3Lv1S+KWv5wTyKks1J8qch5/a3Y64H7AiEA+14AqpQl+4jcn6NkhTwP0MgP9n7jLsqrkOJclpJTEbs="}],"size":2637,"noattachment":false,"key":"/@pnpm/read-package-json/-/@pnpm/read-package-json-9.0.3.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/read-package-json_9.0.3_1718639631119_0.6843486950846902"},"_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":1718639631282,"_cnpm_publish_time":1718639631282,"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"}}