@anio-fs/int--write-atomic-file-json
v1.0.0
Published
Atomically write a JSON file.
Downloads
5
Readme
@anio-fs/int--write-atomic-file-json
Atomically write a JSON file.
import {writeAtomicFileJSON, writeAtomicFileJSONSync} from "@anio-fs/int--write-atomic-file-json"
console.log(
await writeAtomicFileJSON("/tmp/test", "data")
)
console.log(
writeAtomicFileJSONSync("/tmp/test", "data")
)