{"name":"@pnpm/pkg-manifest.reader","version":"1100.0.0","keywords":["pnpm","pnpm11","outdated"],"license":"MIT","_id":"@pnpm/pkg-manifest.reader@1100.0.0","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":"05c7bad5484aa06f375b89a350d2636277899101","tarball":"http://registry-npm.ywwl.com/@pnpm/pkg-manifest.reader/download/@pnpm/pkg-manifest.reader-1100.0.0.tgz","fileCount":5,"integrity":"sha512-GTA6NKnn6IdwFaturCdUQTJVqdRTKqwV8AyceTvUZ9ELbu5LvbH4baziCVHvxAvQXRdZd0pn8pHapJf0zIollw==","signatures":[{"sig":"MEUCIQC2my9/3MKeRqX2s+eB6fb246Wrmjpz85baP7EeAftnnQIgNYOkXvfQyG0PjKUSx48nW0SrtI6iNvbgyMQkGtYcmOc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2fpkg-manifest.reader@1100.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":5804,"size":2265,"noattachment":false,"key":"/@pnpm/pkg-manifest.reader/-/@pnpm/pkg-manifest.reader-1100.0.0.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":"https://github.com/pnpm/pnpm/tree/main/pkg-manifest/reader","description":"Read a package.json","directories":{},"_nodeVersion":"25.6.1","dependencies":{"@pnpm/error":"1100.0.0","@pnpm/types":"1100.0.0","load-json-file":"^7.0.1","normalize-package-data":"^8.0.0"},"_hasShrinkwrap":false,"devDependencies":{"@pnpm/pkg-manifest.reader":"1100.0.0","@types/normalize-package-data":"^2.4.4"},"_npmOperationalInternal":{"tmp":"tmp/pkg-manifest.reader_1100.0.0_1775839414674_0.9900715639712172","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":1775839414797,"_cnpm_publish_time":1775839414797,"dist-tags":{"latest":"1100.0.24"}}