sindresorhus/write-json-file
Stringify and write JSON to a file atomically
Like `fs.createWriteStream(...)`, but atomic.
Appears on
Quick read
Latest capture 2026-10-12 09:57
Archive status reflects the last catalog sync, not a maintenance assessment. Check recent releases, issue responses, and fit for your project with the repository shortlisting checklist.
0 paths
Agent instructions and tool configuration found in this repository.
No config files detected.
1 observed capture since 2026-10-12. Observed captures are shown by default.
Stars from first capture 0
Observed captures only
All tracked data
Observed snapshots
Observed snapshots
Nearest indexed repositories by embedding similarity.
Stringify and write JSON to a file atomically
Transform the first chunk in a stream
Node.js: extra methods for the fs object like copy(), remove(), mkdirs()
Get a stream as a string, Buffer, ArrayBuffer or array
Move a file, directory, or symlink - Even works across devices
Better file system API for Node.js