write-json5-file 2.0.1
Stringify and write JSON to a file atomically
write-json5-file@2.0.1 was published on 2019-05-25. Its manifest declares 5 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=8.15.
All write-json5-file versions · Permanent reference to 2.0.1 · Latest release
Package specifications
| Version | 2.0.1 |
|---|---|
| License declaration | MIT |
| Published | 2019-05-25T00:16:02.284Z |
| Node.js requirement | >=8.15 |
| Type declarations | Not declared |
| Runtime dependency count | 5 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 6.35 KiB |
| Published file count | 5 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 11 |
| Repository stars | 104 |
| Repository forks | 33 |
Install write-json5-file 2.0.1
npm install write-json5-file@2.0.1 pnpm add write-json5-file@2.0.1 yarn add write-json5-file@2.0.1
Runtime dependencies
- json5 ^2.0.0
- mkdirp ^0.5.1
- sort-keys ^3.0.0
- graceful-fs ^4.1.11
- write-file-atomic ^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.
- graceful-fs@4.2.11 — direct
- imurmurhash@0.1.4 — indirect
- is-plain-obj@2.1.0 — indirect
- is-typedarray@1.0.0 — indirect
- json5@2.2.3 — direct
- minimist@1.2.8 — indirect
- mkdirp@0.5.6 — direct
- signal-exit@3.0.7 — indirect
- sort-keys@3.0.0 — direct
- typedarray-to-buffer@3.1.5 — indirect
- write-file-atomic@3.0.3 — 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 | 0/10 — Found 0/30 approved changesets -- score normalized to 0 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 2/10 — 3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 6/10 — dependency not pinned by hash detected -- score normalized to 6 |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Security-Policy | 0/10 — security policy file not 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/write-json5-file/2.0.1 — retrieved 2026-10-29T21:30:08.820Z
- https://api.deps.dev/v3/projects/github.com%2Fzkochan%2Fpackages — retrieved 2026-10-29T19:50:47.913Z
- https://api.deps.dev/v3/systems/npm/packages/write-json5-file/versions/2.0.1 — retrieved 2026-10-29T21:30:09.350Z
- https://api.deps.dev/v3/systems/npm/packages/write-json5-file/versions/2.0.1:dependencies — retrieved 2026-10-29T21:30:09.370Z