load-json-file 5.1.0
Read and parse a JSON file
load-json-file@5.1.0 was published on 2018-09-18. 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 >=6.
All load-json-file versions · Permanent reference to 5.1.0 · Latest release
Package specifications
| Version | 5.1.0 |
|---|---|
| License declaration | MIT |
| Published | 2018-09-18T05:21:57.311Z |
| Node.js requirement | >=6 |
| 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.03 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 | 7 |
| Repository stars | 250 |
| Repository forks | 47 |
Install load-json-file 5.1.0
npm install load-json-file@5.1.0 pnpm add load-json-file@5.1.0 yarn add load-json-file@5.1.0
Runtime dependencies
- graceful-fs ^4.1.2
- parse-json ^4.0.0
- pify ^3.0.0
- strip-bom ^3.0.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.
- error-ex@1.3.4 — indirect
- graceful-fs@4.2.11 — direct
- is-arrayish@0.2.1 — indirect
- json-parse-better-errors@1.0.2 — indirect
- parse-json@4.0.0 — direct
- pify@3.0.0 — direct
- strip-bom@3.0.0 — direct
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 | 3/10 — Found 10/30 approved changesets -- score normalized to 3 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Pinned-Dependencies | 0/10 — dependency not pinned by hash detected -- score normalized to 0 |
| Security-Policy | 10/10 — security policy file detected |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| 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/load-json-file/5.1.0 — retrieved 2026-10-29T10:13:49.682Z
- https://api.deps.dev/v3/projects/github.com%2Fsindresorhus%2Fload-json-file — retrieved 2026-10-29T08:18:36.024Z
- https://api.deps.dev/v3/systems/npm/packages/load-json-file/versions/5.1.0:dependencies — retrieved 2026-10-29T10:13:50.263Z
- https://api.deps.dev/v3/systems/npm/packages/load-json-file/versions/5.1.0 — retrieved 2026-10-29T10:13:50.243Z