{"name":"@pnpm/pkg-manifest.reader","version":"1100.0.7","keywords":["pnpm","pnpm11","outdated"],"license":"MIT","_id":"@pnpm/pkg-manifest.reader@1100.0.7","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":"98b2291c5ad5dd9baeece8b7b1659bc6b9ed4a8a","tarball":"http://registry-npm.ywwl.com/@pnpm/pkg-manifest.reader/download/@pnpm/pkg-manifest.reader-1100.0.7.tgz","fileCount":5,"integrity":"sha512-liNV4eO/jQgWbEJs1zGcHGpy9/H5XRMNhUdnKxpTJJDXLYRfb5LE5jB1PzJvcKsFxV0THWyYpWFzaYieHv2O9w==","signatures":[{"sig":"MEYCIQC2ZDdFtj0WVJ/b/3nZeGKKKpiybG9q47qSelWxGqF9wgIhAO1qelEfF8KVlmcovAKJw46i1nkrIaqaCpDAiIULj8Af","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2fpkg-manifest.reader@1100.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5876,"size":2287,"noattachment":false,"key":"/@pnpm/pkg-manifest.reader/-/@pnpm/pkg-manifest.reader-1100.0.7.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.1","load-json-file":"^7.0.1","normalize-package-data":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@jest/globals":"30.3.0","@pnpm/pkg-manifest.reader":"1100.0.7","@types/normalize-package-data":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/pkg-manifest.reader_1100.0.7_1781088891065_0.8169407335626526","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":1781088891194,"_cnpm_publish_time":1781088891194,"dist-tags":{"latest":"1100.0.24"}}