{"name":"@pnpm/read-package-json","version":"1000.0.1","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":["pnpm10","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":"1000.0.1","@pnpm/types":"1000.0.0"},"funding":"https://opencollective.com/pnpm","devDependencies":{"@types/normalize-package-data":"^2.4.4","@pnpm/read-package-json":"1000.0.1"},"exports":{".":"./lib/index.js"},"jest":{"preset":"@pnpm/jest-config"},"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@1000.0.1","_integrity":"sha512-MBEnpwE6RNtMFYH8OGMMXql7jw5oUNsYf7qL9Mw+AIzvA6Y5j0+dj52LeioU/OKbZViU6wrriwZOwaNStbZ78A==","_resolved":"/tmp/fe4c2802ac767e2110293573949aa9c0/pnpm-read-package-json-1000.0.1.tgz","_from":"file:pnpm-read-package-json-1000.0.1.tgz","_nodeVersion":"20.18.1","_npmVersion":"10.8.2","dist":{"integrity":"sha512-MBEnpwE6RNtMFYH8OGMMXql7jw5oUNsYf7qL9Mw+AIzvA6Y5j0+dj52LeioU/OKbZViU6wrriwZOwaNStbZ78A==","shasum":"70c215a9edade38aa863d44a3524b6152e684033","tarball":"http://registry-npm.ywwl.com/@pnpm/read-package-json/download/@pnpm/read-package-json-1000.0.1.tgz","fileCount":6,"unpackedSize":6099,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFGmIiw5bFKsXViueFY9+Gn2oYJuySU6SwUizx7Qm7J8AiAiKBgTbM+yPwd8Gdt0cM8wK8pBTGwlMz1D2jtnHUXpOg=="}],"size":2658,"noattachment":false,"key":"/@pnpm/read-package-json/-/@pnpm/read-package-json-1000.0.1.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/read-package-json_1000.0.1_1734314494221_0.8389234531049181"},"_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":1734314494413,"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"_cnpm_publish_time":1734314494413,"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"}}