The subset of node:fs/promises that replace and update use: open with the flags 'r+', 'w+', and 'r', the functions of a file handle, and the functions that read the files to add.
node:fs/promises
replace
update
open
'r+'
'w+'
'r'
The subset of
node:fs/promisesthatreplaceandupdateuse:openwith the flags'r+','w+', and'r', the functions of a file handle, and the functions that read the files to add.