Skip to content

LuKks/atomic-write-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Atomic file writing by creating a temporary file and renaming it

Resources

License

Stars

Watchers

Forks

Packages

No packages published