read-pkg 5.2.0
Read a package.json file
read-pkg@5.2.0 was published on 2019-07-11. Its manifest declares 4 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=8.
All read-pkg versions · Permanent reference to 5.2.0 · Latest release
Package specifications
| Version | 5.2.0 |
|---|---|
| License declaration | MIT |
| Published | 2019-07-11T08:30:48.441Z |
| Node.js requirement | >=8 |
| Type declarations | Not declared |
| Runtime dependency count | 4 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 5.91 KiB |
| Published file count | 5 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | Not declared |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 26 |
| Repository stars | 176 |
| Repository forks | 26 |
Install read-pkg 5.2.0
npm install read-pkg@5.2.0 pnpm add read-pkg@5.2.0 yarn add read-pkg@5.2.0
Runtime dependencies
- type-fest ^0.6.0
- parse-json ^5.0.0
- normalize-package-data ^2.5.0
- @types/normalize-package-data ^2.4.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/code-frame@7.29.7 — indirect
- @babel/helper-validator-identifier@7.29.7 — indirect
- @types/normalize-package-data@2.4.4 — direct
- error-ex@1.3.4 — indirect
- es-errors@1.3.0 — indirect
- function-bind@1.1.2 — indirect
- hasown@2.0.4 — indirect
- hosted-git-info@2.8.9 — indirect
- is-arrayish@0.2.1 — indirect
- is-core-module@2.17.0 — indirect
- js-tokens@4.0.0 — indirect
- json-parse-even-better-errors@2.3.1 — indirect
- lines-and-columns@1.2.4 — indirect
- normalize-package-data@2.5.0 — direct
- parse-json@5.2.0 — direct
- path-parse@1.0.7 — indirect
- picocolors@1.1.1 — indirect
- resolve@1.22.13 — indirect
- semver@5.7.2 — indirect
- spdx-correct@3.2.0 — indirect
- spdx-exceptions@2.5.0 — indirect
- spdx-expression-parse@3.0.1 — indirect
- spdx-license-ids@3.0.24 — indirect
- supports-preserve-symlinks-flag@1.0.0 — indirect
- type-fest@0.6.0 — direct
- validate-npm-package-license@3.0.4 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Binary-Artifacts | 10/10 — no binaries found in the repo |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Security-Policy | 10/10 — security policy file detected |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Code-Review | 2/10 — Found 7/30 approved changesets -- score normalized to 2 |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- https://registry.npmjs.org/read-pkg/5.2.0 — retrieved 2026-10-29T12:05:50.750Z
- https://api.deps.dev/v3/projects/github.com%2Fsindresorhus%2Fread-pkg — retrieved 2026-10-29T08:17:34.614Z
- https://api.deps.dev/v3/systems/npm/packages/read-pkg/versions/5.2.0 — retrieved 2026-10-29T12:05:51.272Z
- https://api.deps.dev/v3/systems/npm/packages/read-pkg/versions/5.2.0:dependencies — retrieved 2026-10-29T12:05:51.299Z