read-package-json 3.0.1
The thing npm uses to read package.json files with semantics and defaults and validation
read-package-json@3.0.1 was published on 2021-02-22. 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 >=10.
Deprecated: This package is no longer supported. Please use @npmcli/package-json instead.
All read-package-json versions · Permanent reference to 3.0.1 · View npm registry JSON · Latest release
Package specifications
| Version | 3.0.1 |
|---|---|
| License declaration | ISC |
| Published | 2021-02-22T20:15:10.704Z |
| Node.js requirement | >=10 |
| 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 | 19.45 KiB |
| Published file count | 5 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | read-json.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 26 |
| Repository stars | 224 |
| Repository forks | 79 |
Install read-package-json 3.0.1
npm install read-package-json@3.0.1 pnpm add read-package-json@3.0.1 yarn add read-package-json@3.0.1
Runtime dependencies
- glob ^7.1.1
- normalize-package-data ^3.0.0
- npm-normalize-package-bin ^1.0.0
- json-parse-even-better-errors ^2.3.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.
- balanced-match@1.0.2 — indirect
- brace-expansion@1.1.21 — indirect
- concat-map@0.0.1 — indirect
- fs.realpath@1.0.0 — indirect
- function-bind@1.1.2 — indirect
- glob@7.2.3 — direct
- hasown@2.0.4 — indirect
- hosted-git-info@4.1.0 — indirect
- inflight@1.0.6 — indirect
- inherits@2.0.4 — indirect
- is-core-module@2.17.0 — indirect
- json-parse-even-better-errors@2.3.1 — direct
- lru-cache@6.0.0 — indirect
- minimatch@3.1.5 — indirect
- normalize-package-data@3.0.3 — direct
- npm-normalize-package-bin@1.0.1 — direct
- once@1.4.0 — indirect
- path-is-absolute@1.0.1 — indirect
- semver@7.8.5 — 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
- validate-npm-package-license@3.0.4 — indirect
- wrappy@1.0.2 — indirect
- yallist@4.0.0 — 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.
| Code-Review | 8/10 — Found 7/8 approved changesets -- score normalized to 8 |
|---|---|
| Maintained | 0/10 — project is archived |
| Security-Policy | 10/10 — security policy file detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| SAST | 7/10 — SAST tool detected but not run on all commits |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-02T04:05:15.521Z
- https://api.deps.dev/v3/projects/github.com%2Fnpm%2Fread-package-json — retrieved 2026-11-02T00:39:05.047Z
- https://api.deps.dev/v3/systems/npm/packages/read-package-json/versions/3.0.1 — retrieved 2026-11-02T04:05:15.898Z
- https://api.deps.dev/v3/systems/npm/packages/read-package-json/versions/3.0.1:dependencies — retrieved 2026-11-02T04:05:15.944Z