1.0.0 • Published 4 months ago

atomic-write-file v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

atomic-write-file

Atomic file writing by creating a temporary file and renaming it

npm i atomic-write-file

Usage

const atomicWriteFile = require('atomic-write-file')

await atomicWriteFile('./firmware.bin', 'Hello World!')

License

MIT

1.0.0

4 months ago