Atomically write files to disk. This package ensures that files are written completely, preventing data corruption in case of crashes or interruptions during write operations. It's particularly useful for configuration files, data stores and any other file where data integrity is crucial. write-file-atomic supports options like setting file permissions and detecting changes to prevent race conditions. It provides a safer and more reliable alternative to standard file writing methods.
The write-file-atomic npm package had frequent releases in 2014-2017, with peaks in September 2014 and April 2017. Release activity diminished significantly after 2020, with only sporadic releases. The most recent releases were version 6.0.0 in September 2024. There have been no releases in 2025 as of August 18, 2025.
write-file-atomic downloads show a generally increasing trend from February 2024 to July 2025, peaking in June 2025 at over 320 million. August 2025 shows a significant drop, but the month is not yet complete.