write-json-file 4.2.0
Stringify and write JSON to a file atomically
write-json-file@4.2.0 was published on 2019-07-30. Its manifest declares 6 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=8.
All write-json-file versions · Permanent reference to 4.2.0 · Latest release
Package specifications
| Version | 4.2.0 |
|---|---|
| License declaration | MIT |
| Published | 2019-07-30T18:22:47.809Z |
| Node.js requirement | >=8 |
| Type declarations | Not declared |
| Runtime dependency count | 6 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 7.33 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 | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install write-json-file 4.2.0
npm install write-json-file@4.2.0 pnpm add write-json-file@4.2.0 yarn add write-json-file@4.2.0
Runtime dependencies
- make-dir ^3.0.0
- sort-keys ^3.0.0
- graceful-fs ^4.1.15
- is-plain-obj ^2.0.0
- detect-indent ^6.0.0
- write-file-atomic ^3.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
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.
Evidence and freshness
- https://registry.npmjs.org/write-json-file/4.2.0 — retrieved 2026-10-31T20:11:27.470Z