{"name":"@pnpm/pkg-manifest.reader","version":"1100.0.8","keywords":["pnpm","pnpm11","outdated"],"license":"MIT","_id":"@pnpm/pkg-manifest.reader@1100.0.8","maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"homepage":"https://github.com/pnpm/pnpm/tree/main/pkg-manifest/reader#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"7554f5d81e10b93ec3bbc94e8b11ae8a848ee834","tarball":"http://registry-npm.ywwl.com/@pnpm/pkg-manifest.reader/download/@pnpm/pkg-manifest.reader-1100.0.8.tgz","fileCount":5,"integrity":"sha512-PtkjTmFg/HMpToM5O3PCk9Q/oPGi7gI0qGdux7NylDTLVcCEF6zEbENzPxqL5N7ruwev0LY8cBoGEzbtF2Wv4Q==","signatures":[{"sig":"MEYCIQDZ95N0Z/lv8oZ7pGLjCe2dN4j6Miu3uo0fA9eeO4N1eQIhAP5hZTTklfjHnhWMZB2khq8WA6B+UhRf3RDjpUAjPEyu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2fpkg-manifest.reader@1100.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5876,"size":2290,"noattachment":false,"key":"/@pnpm/pkg-manifest.reader/-/@pnpm/pkg-manifest.reader-1100.0.8.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.13"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pn compile && pn .test",".test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest","compile":"tsgo --build && pn lint --fix"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"repository":{"url":"https://github.com/pnpm/pnpm/tree/main/pkg-manifest/reader","type":"git"},"description":"Read a package.json","directories":{},"_nodeVersion":"26.0.0","dependencies":{"@pnpm/error":"1100.0.0","@pnpm/types":"1101.3.2","load-json-file":"^7.0.1","normalize-package-data":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@jest/globals":"30.4.1","@pnpm/pkg-manifest.reader":"1100.0.8","@types/normalize-package-data":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/pkg-manifest.reader_1100.0.8_1781505979546_0.6282344879206425","host":"s3://npm-registry-packages-npm-production"},"readme":"# @pnpm/pkg-manifest.reader\n\n> Read a package.json\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/@pnpm/pkg-manifest.reader.svg)](https://npmx.dev/package/@pnpm/pkg-manifest.reader)\n<!--/@-->\n\n## Installation\n\n```sh\npnpm add @pnpm/pkg-manifest.reader\n```\n\n## Usage\n\n```ts\nimport { readPackageJson } from '@pnpm/pkg-manifest.reader'\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":1781505979706,"_cnpm_publish_time":1781505979706,"dist-tags":{"latest":"1100.0.24"}}