atomic-write-file

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i atomic-write-file

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.26 kB

Total Files

6

Last publish

Collaborators

  • lukks