1.0.0 • Published 1 year ago

atomic-write-file v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year 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

1 year ago